From 441700673a26144cfcf93b87e0bdcdb06958dabe Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 25 十一月 2024 16:06:23 +0800
Subject: [PATCH] 1. 修复问题新增对话框中,无法正确上传图片的问题 2. 工地施工阶段可选项更新

---
 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