From b2d96e32bcce976c31fc44a745e9351b971bb675 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 29 四月 2024 11:21:53 +0800
Subject: [PATCH] 修改任务下单

---
 src/components/tool/value-table.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue
index c1e3dd7..bcf2326 100644
--- a/src/components/tool/value-table.vue
+++ b/src/components/tool/value-table.vue
@@ -105,7 +105,7 @@
         @row-click="rowClick" :show-summary="data.countFleid!=undefined && data.countFleid.length > 0"
         :summary-method="getSummaries" :row-class-name="tableRowClassName" :row-key="record=>record.id"
         :current-row-key="data.currentId" :highlight-current-row="data.highlight===undefined||data.highlight"
-        :span-method="spanMethod">
+        :span-method="spanMethod" :key="specialKey">
         <el-table-column type="selection" width="65" v-if="data.showSelect" :key="Math.random()">
         </el-table-column>
         <el-table-column type="index" align="center" label="搴忓彿" width="65" v-if="data.isIndex" :key="Math.random()">
@@ -448,7 +448,8 @@
           //   position:0
           // }
         ],
-        param: {}
+        param: {},
+        specialKey:'table-'
       }
     },
     watch: {
@@ -475,6 +476,7 @@
       this.token = {
         'token': sessionStorage.getItem('token')
       }
+      this.specialKey = this.specialKey+Math.random()*100;
     },
     methods: {
       rowspan(spanArr, position, spanName) {

--
Gitblit v1.9.3