From a5279253a9b409308db50bceb69b8bb86f97a906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=98=89=E4=BC=9F?= <8473136@qq.com> Date: Thu, 22 Aug 2024 14:28:06 +0800 Subject: [PATCH] =?UTF-8?q?:lipstick:=20=E7=BB=9F=E4=B8=80=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/config/index.vue | 6 +++--- src/views/home/index.vue | 2 +- src/views/proxy/index.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/config/index.vue b/src/views/config/index.vue index de66eee..a840556 100644 --- a/src/views/config/index.vue +++ b/src/views/config/index.vue @@ -208,7 +208,7 @@ onMounted(() => { } }); ipcRenderer.on("Config.clearAll.hook", (event, args) => { - ElMessageBox.alert("重置成功 请重启软件", `重置`, { + ElMessageBox.alert("重置成功 请重启软件", `提示`, { closeOnClickModal: false, showClose: false, confirmButtonText: "立即重启" @@ -219,7 +219,7 @@ onMounted(() => { ipcRenderer.on("Config.importConfig.hook", (event, args) => { const { success, data } = args; if (success) { - ElMessageBox.alert("导入成功 请重启软件", `导入成功`, { + ElMessageBox.alert("导入成功 请重启软件", `提示`, { closeOnClickModal: false, showClose: false, confirmButtonText: "立即重启" @@ -227,7 +227,7 @@ onMounted(() => { ipcRenderer.send("common.relaunch"); }); } else { - ElMessageBox.alert(data, `导入失败`); + ElMessageBox.alert(data, `提示`); } }); }); diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 9bec70f..08be70a 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -38,7 +38,7 @@ onMounted(() => { ipcRenderer.on("Home.frpc.start.error.hook", (event, args) => { if (args) { - ElMessageBox.alert(args, "启动失败", { + ElMessageBox.alert(args, "提示", { showCancelButton: true, cancelButtonText: "取消", confirmButtonText: "去设置" diff --git a/src/views/proxy/index.vue b/src/views/proxy/index.vue index 67da4ba..1ee9296 100644 --- a/src/views/proxy/index.vue +++ b/src/views/proxy/index.vue @@ -300,7 +300,7 @@ onUnmounted(() => {