大屏项目初始化
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user