From f5f8aaedd1d488fb20a293182dd7a40e2e82096e Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期二, 30 四月 2024 12:20:44 +0800 Subject: [PATCH] 添加action --- 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