Explorar el Código

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

liujt hace 5 meses
padre
commit
20da9800a7
Se han modificado 1 ficheros con 3 adiciones y 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 = [
           {