Commit 40c9fa73 by Sixong.Zhu

update

parent 12efd840
Showing with 1 additions and 1 deletions
...@@ -74,7 +74,7 @@ async function preCacheImgs(msgs?: any[]) { ...@@ -74,7 +74,7 @@ async function preCacheImgs(msgs?: any[]) {
const preCache = new Image(); const preCache = new Image();
preCache.src = rebuildImage(url); preCache.src = rebuildImage(url);
preCache.onload = () => resolve(); preCache.onload = () => resolve();
setTimeout(resolve, 2000); setTimeout(resolve, 800);
} else { } else {
resolve(); resolve();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment