From dfd3903f59e4d5d32ffa5be546b00458d3e76477 Mon Sep 17 00:00:00 2001 From: wente <329538422@qq.com> Date: 星期一, 11 十二月 2023 14:26:44 +0800 Subject: [PATCH] 项目表 --- web/packages/components/zt-table-column-handle/src/zt-table-column-handle.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/web/packages/components/zt-table-column-handle/src/zt-table-column-handle.vue b/web/packages/components/zt-table-column-handle/src/zt-table-column-handle.vue index 6f9cfc3..37ef19a 100644 --- a/web/packages/components/zt-table-column-handle/src/zt-table-column-handle.vue +++ b/web/packages/components/zt-table-column-handle/src/zt-table-column-handle.vue @@ -41,7 +41,11 @@ return typeof this.hasView === 'boolean' ? this.hasView : this.hasView(row) }, isCanEidt(row) { - return typeof this.hasEdit === 'boolean' ? this.hasEdit : this.hasEdit(row) + if(row.stepMarker && row.stepMarker.includes('wc')){ + return false + }else { + return typeof this.hasEdit === 'boolean' ? this.hasEdit : this.hasEdit(row) + } }, isCanDelete(row) { return typeof this.hasDelete === 'boolean' ? this.hasDelete : this.hasDelete(row) -- Gitblit v1.9.1