Explorar o código

提交规则维护修改接口数据的处理

xiezhiming %!s(int64=3) %!d(string=hai) anos
pai
achega
2a9a814045
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/knowledgeExtra/AddNewRule.vue

+ 1 - 1
src/components/knowledgeExtra/AddNewRule.vue

@@ -533,7 +533,7 @@ export default {
 	  if(!info.klRuleByIdGroup[0].klRuleByIdSub){
 		  this.form = JSON.parse(JSON.stringify(info));
 	  }else{
-		let arr = JSON.parse(JSON.stringify(info.klRuleByIdGroup[0].klRuleByIdSub));
+		let arr = JSON.parse(JSON.stringify(infoCopy.klRuleByIdSubCopy));
 		arr.map((mapItem) => {
 		  if (dataArr.length == 0) {
 		    dataArr.push({ groupType: mapItem.groupType, List: [mapItem] });