From 6c74bf912e251347714099a84585f825b32a1c08 Mon Sep 17 00:00:00 2001 From: zmc <zmc_li@foxmail.com> Date: 星期一, 18 十二月 2023 17:52:05 +0800 Subject: [PATCH] Merge branch 'feature-001' of ssh://114.215.109.124:29418/supervision-vue into feature-001 --- src/composables/messageBox.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/composables/messageBox.js b/src/composables/messageBox.js index d896244..8606bd6 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}` } } -- Gitblit v1.9.3