From 26e5c1cdad65881f7fdccb79fe15db713e0b3cc5 Mon Sep 17 00:00:00 2001
From: yuxc <yuxc@vci-tech.com>
Date: 星期二, 30 四月 2024 10:51:29 +0800
Subject: [PATCH] 字段枚举解析修改

---
 Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue b/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
index 92ee092..886e7f7 100644
--- a/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
+++ b/Source/ProjectWeb/src/components/dynamic-components/dynamic-table.vue
@@ -54,6 +54,11 @@
       type: Boolean,
       default: false
     },
+    canEdit:{
+      //鍐呭鏄惁鍙紪杈�
+      type:Boolean,
+      default:false
+    },
     areasName: {
       type: String,
       default: ''//westArea瀵艰埅鍖�
@@ -318,7 +323,11 @@
     },
     selectionClear() {
       this.selectionList = [];
-      this.$refs.dataTable.toggleSelection();
+      try {
+        this.$refs.dataTable.toggleSelection();
+      }catch (e) {
+
+      }
     },
     handleRefresh() {
       this.onLoad(this.page, this.query);

--
Gitblit v1.9.3