chenrui  2 年之前
父节点
当前提交
5f95725ec5
共有 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 == res.calculationBasis) {
+                if (res.k == this.tableForm.calculationBasis) {
                   this.tableForm.calculationBasis = res.v;
                 }
               });