From 198ea0104d6bd860c7dd8b8c2c14bbe3b5c09d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=AE=E5=8F=AE=E5=BD=93?= <604054726@qq.com> Date: Tue, 19 Sep 2023 14:35:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E6=AC=A1=E8=BD=BD?= =?UTF-8?q?=E5=85=A5=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index d0c1c2f1..2d78407b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -50,8 +50,10 @@ router.afterEach(() => { if (isFirstApp) { // 标记首次载入完成, 再绑定app isFirstApp = false - setTimeout(() => { - app.mount('#app') - }, 300) + // 先不加延迟试试 + app.mount('#app') + // setTimeout(() => { + // app.mount('#app') + // }, 300) } })