Browse Source

bug 修复

lilei 4 years ago
parent
commit
8176094285
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/spotCheckConfigure/evaluateItem.vue

+ 1 - 1
pages/spotCheckConfigure/evaluateItem.vue

@@ -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