@@ -36,7 +36,7 @@
}
},
onLoad(opts) {
- this.checkedList = JSON.parse(opts.item) || []
+ this.checkedList = opts.item&&JSON.parse(opts.item)
findAllItem().then(res=>{
if(res.status == 200){
this.items = res.data