From 981f84ea2b2a7ebb517b2226c8733fa95b82c969 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Thu, 19 Dec 2024 10:48:08 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20=E4=BF=AE=E6=94=B9=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=8C=89=E9=92=AE=E7=9A=84=E7=A6=81=E7=94=A8=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gringotts-frontend/pages/index/tab-data.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gringotts-frontend/pages/index/tab-data.js b/gringotts-frontend/pages/index/tab-data.js index 73321a3..3e6eaaa 100644 --- a/gringotts-frontend/pages/index/tab-data.js +++ b/gringotts-frontend/pages/index/tab-data.js @@ -5,7 +5,6 @@ import { } from "../../components/resource/dialog-resource.js"; import { apiGet, - arrayInCheck, arrayOutCheck, checkState, crudCommonOptions, @@ -68,8 +67,8 @@ export function resourceList(showMode = false) { ...resourceEditeDialog(), }, { - disabledOn: arrayInCheck([checkState.checking], 'confirmationState'), - disabledTip: '审查中无法删除', + disabledOn: arrayOutCheck([checkState.none, checkState.draft], 'confirmationState'), + disabledTip: '审查或确权成功后无法删除', tooltipPlacement: 'bottom', type: 'action', label: "删除",