From 63d9a9c62fd34f4b48a157e0bc57dd82ee09a197 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 27 十一月 2025 17:36:12 +0800
Subject: [PATCH] 2025.11.27
---
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..a45738c 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: 'top-right',
});
})
.catch((err) => {
@@ -34,7 +34,7 @@
}
ElMessage({
message: errStr,
- type: 'warning',
+ type: 'error',
});
});
}
--
Gitblit v1.9.3