From f0b1d8f3c922031761ec40a09ab1130153d8aa83 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 29 Nov 2024 18:01:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=81=E5=AE=9A=E9=97=AE=E9=A2=98=E8=A7=A3?= =?UTF-8?q?=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')