💄 统一提示

This commit is contained in:
刘嘉伟 2024-08-22 14:28:06 +08:00
parent 3f49841ab2
commit a5279253a9
3 changed files with 5 additions and 5 deletions

View File

@ -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, `提示`);
}
});
});

View File

@ -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: "去设置"

View File

@ -300,7 +300,7 @@ onUnmounted(() => {
<!-- <coming-soon />-->
<div class="main">
<breadcrumb>
<el-button class="mr-2" plain type="primary" @click="handleOpenInsert">
<el-button class="mr-2" type="primary" @click="handleOpenInsert">
<IconifyIconOffline icon="add" />
</el-button>
</breadcrumb>