zhouna %!s(int64=4) %!d(string=hai) anos
pai
achega
79f775a67a
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

@@ -383,7 +383,7 @@
                     _this.form.klRuleInfoSaveSub = _this.form.parHasSub?_this.formatGroups():undefined;
                     let params = _this.form;
                     if(_this.parId){//修改/复制
-                        params = Object.assign({},_this.form,{parId:_this.isCopy?undefined:_this.parId})
+                        params = Object.assign({},_this.form,{parId:_this.isCopy?undefined:_this.parId,parStatus:_this.isCopy?1:_this.form.parStatus})
                     }
                     console.log(params)
                     _this.saveRule(params);