[Vue?warn]:?Error?in?callback?for?watcher?"items":?
(found?in?<App>?at?C:\Users\admin\vue_test\src\App.vue)
warn?@?vue.esm.js?d2fe:558
handleError?@?vue.esm.js?d2fe:1443
run?@?vue.esm.js?d2fe:2553
flushSchedulerQueue?@?vue.esm.js?d2fe:2329
(anonymous)?@?vue.esm.js?d2fe:505
nextTickHandler?@?vue.esm.js?d2fe:454
vue.esm.js?d2fe:1447?TypeError:?Cannot?read?property?'setItem'?of?undefined
????at?Object.save?(eval?at?<anonymous>?(app.js:938),?<anonymous>:10:28)
????at?VueComponent.handler?(eval?at?<anonymous>?(app.js:904),?<anonymous>:20
2017-04-21
wo yeshi - -?
2017-04-17
我的也是這個問題,用樓上的方法也不行
2017-04-11
watch:{
?// 深度 watcher
?items: {
? ?handler: function (items) {
? ? Store.save(items);
? ?},
? ?deep: true
?}
},
2017-04-01
請問這個問題解決了嗎?我也是同樣的問題。
2017-03-28
watch items 那里有問題,handler拼的對不對