From 3422f7d4ccf581a69700f4c13a40b703bafe6e24 Mon Sep 17 00:00:00 2001 From: gaoxq <376340421@qq.com> Date: Thu, 5 Mar 2026 23:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E9=A1=B9=E7=9B=AE=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Layout/components/editPswd.vue | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/screen-vue/src/components/Layout/components/editPswd.vue b/screen-vue/src/components/Layout/components/editPswd.vue index 21151d0..b22dc46 100644 --- a/screen-vue/src/components/Layout/components/editPswd.vue +++ b/screen-vue/src/components/Layout/components/editPswd.vue @@ -78,27 +78,6 @@ const submitForm = async () => { } let confirmResult = false - await nextTick(async () => { - if (!isMounted.value) return - try { - await ElMessageBox.confirm( - '确认要修改密码吗?', - '温馨提示', - { - confirmButtonText: '确认', - cancelButtonText: '取消', - type: 'warning', - closeOnClickModal: false, - showClose: false, - timeout: 0 - } - ) - confirmResult = true - } catch { - confirmResult = false - } - }) - if (!confirmResult || !isMounted.value) { submitPromise = null return resolve(false)