diff --git a/src/main.js b/src/main.js index b1d5fe17..968fbd18 100644 --- a/src/main.js +++ b/src/main.js @@ -446,11 +446,11 @@ async function VueInit() { beforeClose: (action, instance, done) => { if (action === 'confirm') { if (!_vm.unlock.my_username) { - _vm.$alert(_vm.$t("env:lock:msgBox:iupUser")) + _vm.$message.warning(_vm.$t("env:lock:msgBox:iupUser")) return } if (!_vm.unlock.my_password) { - _vm.$alert(_vm.$t("env:lock:msgBox:inpPassword")) + _vm.$message.warning(_vm.$t("env:lock:msgBox:inpPassword")) return } var my_username = zzSessionStorage.getItem('my_username')