From ba516ff41f9bdc9c0b76205ccc897b552e13d8b9 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期一, 11 十二月 2023 14:57:23 +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