chenrui  2 년 전
부모
커밋
28e977a907
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
                 }
               });