|
@@ -67,15 +67,15 @@ export default defineComponent({
|
|
|
});
|
|
|
|
|
|
const initJson = async () => {
|
|
|
- console.log('开始加载')
|
|
|
+ // console.log('开始加载')
|
|
|
// const bg = await import(`./json/bg.json`);
|
|
|
// const bg1 = await import(`./json/bg1.json`);
|
|
|
/* @vite-ignore */
|
|
|
- // data.bg = await import(`./json/bg_new.json`);
|
|
|
- data.bg = getJson('bg_new.json');
|
|
|
+ data.bg = await import(`./json/bg_new.json`);
|
|
|
+ // data.bg = getJson('bg_new.json');
|
|
|
data.jsonDone = true;
|
|
|
evaluatingData.jsonLoadDone = true;
|
|
|
- console.log('延迟检测资源加载完成')
|
|
|
+ // console.log('延迟检测资源加载完成')
|
|
|
}
|
|
|
|
|
|
// 调用'isWiredHeadsetOn'最小时间间隔,1秒
|