From 4427240765bea364f1588e14e59329bbfadbaa20 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 11 三月 2025 13:39:54 +0800 Subject: [PATCH] element-plus 版本升级到2.9.2 模型编辑页面下拉列表替换为 虚拟化选择器,解决页面dom加载压力过大页面卡顿 --- src/hooks/web/useMessage.ts | 24 ------------------------ 1 files changed, 0 insertions(+), 24 deletions(-) diff --git a/src/hooks/web/useMessage.ts b/src/hooks/web/useMessage.ts index 2bbf5cb..ac2b552 100644 --- a/src/hooks/web/useMessage.ts +++ b/src/hooks/web/useMessage.ts @@ -90,30 +90,6 @@ cancelButtonText: t('common.cancel'), type: 'warning' }) - }, - // 启用窗体 - enableConfirm(ids, content?: string, tip?: string) { - return ElMessageBox.confirm( - content ? content : t('确定启用选中的'+ ids.length +'项数据?'), - tip ? tip : t('common.confirmTitle'), - { - confirmButtonText: t('common.ok'), - cancelButtonText: t('common.cancel'), - type: 'warning' - } - ) - }, - // 禁用窗体 - disableConfirm(ids, content?: string, tip?: string) { - return ElMessageBox.confirm( - content ? content : t('确定禁用选中的'+ ids.length +'项数据?'), - tip ? tip : t('common.confirmTitle'), - { - confirmButtonText: t('common.ok'), - cancelButtonText: t('common.cancel'), - type: 'warning' - } - ) } } } -- Gitblit v1.9.3