From 47eb4cf11427e2df5eef0bdc876601107f8bb1ec Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 25 三月 2024 16:30:49 +0800 Subject: [PATCH] # --- zy-asrs-flow/src/pages/map/utils.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/zy-asrs-flow/src/pages/map/utils.js b/zy-asrs-flow/src/pages/map/utils.js index b45a4cf..eed6cfd 100644 --- a/zy-asrs-flow/src/pages/map/utils.js +++ b/zy-asrs-flow/src/pages/map/utils.js @@ -492,4 +492,12 @@ sprite.tint = showColor; } return showColor; -} \ No newline at end of file +} + +export const waitTime = (time = 1000) => { + return new Promise((resolve) => { + setTimeout(() => { + resolve(true); + }, time); + }); +}; \ No newline at end of file -- Gitblit v1.9.1