Ver Fonte

bug 修复

lilei há 4 anos atrás
pai
commit
8176094285
1 ficheiros alterados com 1 adições e 1 exclusões
  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