加了這段代碼后又出現這個
watch: {
items: {
handler: function (items){
Store.save()
},
deep: true
}
}
錯誤this is todo list
ERROR in ./~/
[email protected]@babel-loader/lib!./~/
[email protected]@vue-loader/lib/selector.js?type=script&index=0!./src/App.vue
Module build failed: SyntaxError: E:/html/firstvue/src/App.vue: Unexpected token, expected , (33:4)
31 | }
32 | }
> 33 | methods: {
| ^
34 | toggleFinish: function(item) {
35 | item.isFinished=!item.isFinished
36 | },
@ ./src/App.vue 8:0-132
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js