Expected indentation of 8 space characters but found 6
Mixed spaces and tabs
Mixed spaces and tabs
2016-09-25
更正一下
报错为:
Unexpected token o in JSON at position 0。
解决方法为
save:function(items){
items=JSON.stringify(items)
window.localStorage.setItem(STORAGE_KEY,items)
}
报错为:
Unexpected token o in JSON at position 0。
解决方法为
save:function(items){
items=JSON.stringify(items)
window.localStorage.setItem(STORAGE_KEY,items)
}
2016-09-23
Store.fetch()中return (.....|| '[]'),[]外不应该加'',否则报错Unexpected token u in JSON at position 0。
2016-09-23
老师讲的不错,清晰明了,了解了Vue最基本的数据交互,希望能推出进阶教程,项目目录划分、怎样融入其他插件、后端交互这些。
2016-09-22