From 024087b9b2c59ed7c45ca9614b1ca3a919fe782e Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Thu, 27 Mar 2025 21:03:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E8=8F=9C=E5=8D=95=20?= =?UTF-8?q?=E8=AF=B7=E5=81=87=E7=94=B3=E8=AF=B7=20=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E5=88=A0=E9=99=A4=20=E9=9C=80=E8=A6=81=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 6 ++++++ apps/web-antd/src/views/workflow/leave/index.vue | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 096232e9..89eeeece 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# 1.2.4 + +**BUG FIX** + +- 测试菜单 请假申请 选中删除 需要根据状态判断 + # 1.2.3 **BUG FIX** diff --git a/apps/web-antd/src/views/workflow/leave/index.vue b/apps/web-antd/src/views/workflow/leave/index.vue index de12129b..8e46ab00 100644 --- a/apps/web-antd/src/views/workflow/leave/index.vue +++ b/apps/web-antd/src/views/workflow/leave/index.vue @@ -37,8 +37,8 @@ const gridOptions: VxeGridProps = { highlight: true, // 翻页时保留选中状态 reserve: true, - // 点击行选中 - // trigger: 'row', + // 选中 需要根据状态判断 + checkMethod: ({ row }) => ['back', 'cancel', 'draft'].includes(row.status), }, columns, height: 'auto',