xiezhiming 3 년 전
부모
커밋
b143e1b0bb
2개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/components/knowledgeExtra/AddNewRule.vue
  2. 0 2
      src/components/knowledgeExtra/AddNewRuleContent.vue

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

@@ -552,11 +552,11 @@ export default {
 				}
 			}) 
 	  }
-	  //判断是否存在klRuleByIdSub,没有就是护理开单项直接赋值
 	  if(Array.isArray(info.klRuleByIdGroup)&&info.klRuleByIdGroup.length==0){
 		  this.form = JSON.parse(JSON.stringify(info));
 		  return
 	  }
+	  //判断是否存在klRuleByIdSub,没有就是护理开单项直接赋值
 	  if(!info.klRuleByIdGroup[0].klRuleByIdSub){
 		  this.form = JSON.parse(JSON.stringify(info));
 	  }else{

+ 0 - 2
src/components/knowledgeExtra/AddNewRuleContent.vue

@@ -84,8 +84,6 @@
 				   	this.formData.gljtxx.push(obj.id)
 				   })
 				}
-				
-				
 			}
 		},
 		mounted() {