From e732f79fb39ca207464705308c9ee2deb3a79307 Mon Sep 17 00:00:00 2001
From: hcong <1050828145@qq.com>
Date: 星期二, 03 十二月 2024 11:21:41 +0800
Subject: [PATCH] 后台任务状态实时刷新同步后台更改 1. startTime和endTime对象结构修改 2. runTime根据后端逻辑生成runTime

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