From dabcfed1aab6c5c2397ce7c51492eb3c1a923662 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期六, 10 八月 2024 15:02:10 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master --- 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