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)