From f19e5267cc23b1c714dc746239864f33ed715dd9 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 05 十二月 2025 17:55:02 +0800
Subject: [PATCH] 完成地图制作任务功能初版
---
src/composables/messageBox.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/composables/messageBox.js b/src/composables/messageBox.js
index d896244..b2466cc 100644
--- a/src/composables/messageBox.js
+++ b/src/composables/messageBox.js
@@ -15,7 +15,7 @@
let msg = `宸�${doneMsg}`
if (typeof onConfirm === 'function') {
const str = await onConfirm();
- if (str && str != '') {
+ if (typeof str === 'string' && str != '') {
msg = `宸�${doneMsg}, ${str}`
}
}
@@ -24,7 +24,7 @@
message: msg,
type: 'success',
// offset: 170,
- position: 'bottom-left',
+ position: 'bottom-right',
});
})
.catch((err) => {
@@ -34,7 +34,7 @@
}
ElMessage({
message: errStr,
- type: 'warning',
+ type: 'error',
});
});
}
--
Gitblit v1.9.3