From 568ef514f8245b4ff17370bf0d088a91854a64f0 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期一, 12 八月 2024 10:51:59 +0800 Subject: [PATCH] 检验任务调整 --- static/js/worker0.js | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/static/js/worker0.js b/static/js/worker0.js index 370ec75..680a2a9 100644 --- a/static/js/worker0.js +++ b/static/js/worker0.js @@ -122,9 +122,11 @@ }) }) if(arrSpecial[numSpecial-1]){ - result = { - getDataTypeId:arrSpecial[numSpecial-1], - } - self.postMessage(JSON.stringify(result)) + setTimeout(()=>{ + result = { + getDataTypeId:arrSpecial[numSpecial-1], + } + self.postMessage(JSON.stringify(result)) + },0) } } -- Gitblit v1.9.3