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: "删除",