Эх сурвалжийг харах

Merge branch 'master' of http://120.26.64.82:3000/BFFE/CABaggageData2.0

zhongxiaoyu 2 жил өмнө
parent
commit
ddbf0932df

+ 10 - 6
src/components/Table/index.vue

@@ -417,15 +417,19 @@ export default {
     },
     //表格-新增
     handleAdd () {
-      if(this.isDialog == true){
-        this.flag = true;
+      this.flag = true;
         this.tableType = "add";
         this.tableTitle = "新增";
         this.tableForm = {};
-      }
-      else{
-        this.$emit("handleAdd");
-      }
+      // if(this.isDialog ){
+      //   this.flag = true;
+      //   this.tableType = "add";
+      //   this.tableTitle = "新增";
+      //   this.tableForm = {};
+      // }
+      // else{
+      //   this.$emit("handleAdd");
+      // }
 
       console.log(this.tableOptions);
     },