|
|
@@ -163,9 +163,9 @@ const loadSplash = (onload, onerror) =>
|
|
|
if (isHide) return;
|
|
|
isHide = true;
|
|
|
splash.style.opacity = 0;
|
|
|
- setTimeout(() => {
|
|
|
- document.body.removeChild(splash);
|
|
|
- }, 800);
|
|
|
+ // setTimeout(() => {
|
|
|
+ // document.body.removeChild(splash);
|
|
|
+ // }, 800);
|
|
|
resolve();
|
|
|
}
|
|
|
|
|
|
@@ -176,7 +176,7 @@ const loadSplash = (onload, onerror) =>
|
|
|
onload && onload();
|
|
|
setTimeout(() => {
|
|
|
hideSplash();
|
|
|
- }, 2000);
|
|
|
+ }, 10);
|
|
|
};
|
|
|
splash.onerror = () => {
|
|
|
hideSplash();
|
|
|
@@ -184,9 +184,9 @@ const loadSplash = (onload, onerror) =>
|
|
|
};
|
|
|
setTimeout(() => {
|
|
|
hideSplash();
|
|
|
- }, 5000);
|
|
|
- splash.src = 'https://cdn.raex.vip/splash.jpg';
|
|
|
- document.body.append(splash);
|
|
|
+ }, 10);
|
|
|
+ // splash.src = 'https://cdn.raex.vip/splash.jpg';
|
|
|
+ // document.body.append(splash);
|
|
|
});
|
|
|
if (navigator.userAgent.includes('#review#')) {
|
|
|
store.commit('setReview', true);
|