Explorar el Código

静态知识复制标准术语置空

zhouna hace 5 años
padre
commit
7e391abea4
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      src/components/icss/AddMedicinePrompt.vue

+ 1 - 5
src/components/icss/AddMedicinePrompt.vue

@@ -70,10 +70,6 @@
         title:'添加',
         termTypes:[],
         terms:[],              //术语列表
-        editData:{
-          selectedTerm:'',
-          prags:[]
-        },
         form:{
           conceptId:'',             //术语id
           isTip:0,                 //是否要覆盖,0不覆盖,1覆盖
@@ -111,7 +107,7 @@
         this.isEdit = isEdit;
         this.isCopy = isCopy;
         this.title = isEdit?'编辑':(isCopy?'复制':'添加');
-        this.changeWord(data);
+        isEdit&&this.changeWord(data);
         //this.form.selectedTerm = data;
         //this.form.selectedTermName = data.libName;
         //this.form.conceptId = data.conceptId;