log
This commit is contained in:
		| @@ -284,6 +284,7 @@ export default { | ||||
|       } | ||||
|     }, | ||||
|     toEdit(row) { | ||||
|       console.log(row); | ||||
|       this.form = {...row} | ||||
|       if(this.form?.validRangeData) { | ||||
|         this.girdInfoList = JSON.parse(this.form.validRangeData) | ||||
| @@ -453,7 +454,7 @@ export default { | ||||
|     beforeSelectTree() { | ||||
|       this.treeObj.checkedKeys = []; | ||||
|       this.instance.post(`/app/appgirdinfo/listAll3`, null, null).then((res) => { | ||||
|           if (res.code == 0) { | ||||
|           if (res?.code == 0) { | ||||
|             let tree = this.girdToTree(res.data); | ||||
|             this.treeObj.treeList = this.addKey(tree) | ||||
|  | ||||
| @@ -500,12 +501,10 @@ export default { | ||||
|     }, | ||||
|  | ||||
|     onCheckChange(e) { | ||||
|       this.girdInfoList.forEach((item) => { | ||||
|       this.girdInfoList?.forEach((item) => { | ||||
|         if(item.id == e.id) { | ||||
|           console.log(111); | ||||
|           this.$refs.tree.setChecked(e.id, false); | ||||
|         } else { | ||||
|           console.log(222); | ||||
|           this.$refs.tree.setChecked(e.id, true); | ||||
|         } | ||||
|       }) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user