From da51e7d5bbf5ff1610209510571e94d0523b515c Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 24 四月 2024 17:40:37 +0800
Subject: [PATCH] 完善自动评估模块,规范性分析报告的后台任务和结果下载逻辑

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