chenrui  2 lat temu
rodzic
commit
28e977a907
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/Table/index.vue

+ 1 - 1
src/components/Table/index.vue

@@ -1105,7 +1105,7 @@ export default {
             }
             if (this.tableOptions.calculationBasis) {
               this.tableOptions.calculationBasis.forEach((res) => {
-                if (res.k == element.calculationBasis) {
+                if (res.k == res.calculationBasis) {
                   this.tableForm.calculationBasis = res.v;
                 }
               });