💄 统一提示
This commit is contained in:
parent
3f49841ab2
commit
a5279253a9
@ -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, `提示`);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -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: "去设置"
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user