Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
checkbox 组件在路由切换的时候报错 #1717
changed the title from
checkbox.js?7d76:162 Uncaught TypeError: Cannot read property 'value' of undefined(…)
Dec 16, 2016
Had the same issue. Below are some analysis and a possible fix.
In get() function of the the "model" computed property in checkbox.vue
Because this.isGroup is a computed property and may be cached, while this.isGroup is true, this._checkboxGroup may already be null (destroyed).
The following fix for the store() function works for me: