Explorar o código

refactor(inventoryTableDetails): 添加columnsVersion以跟踪列版本变化

liujt hai 5 meses
pai
achega
20da9800a7
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/BIZComponents/inventoryTableDetails.vue

+ 3 - 1
src/BIZComponents/inventoryTableDetails.vue

@@ -175,11 +175,13 @@
         form: {
           discountTotalPrice: 0,
           datasource: []
-        }
+        },
+        columnsVersion: 1,
       };
     },
     computed: {
       columns() {
+        let columnsVersion = this.columnsVersion;
         // 基础列(新增字段之前的列)
         const baseColumns = [
           {