From 2de274b95d65c0d680e851977ff7f1e54462e72f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Fri, 17 Feb 2023 18:15:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=A1=B6=E5=B1=82?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=86=99=20await=20=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.ts | 5 +++-- src/styles/common/mixins/mixins.scss | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index d85d46cb..550bc63c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -53,6 +53,7 @@ async function appInit() { window['$vue'] = app } -await appInit() +appInit().then(() => { + initFunction() +}) -await initFunction() diff --git a/src/styles/common/mixins/mixins.scss b/src/styles/common/mixins/mixins.scss index ec6f2ccd..5cb85f5f 100644 --- a/src/styles/common/mixins/mixins.scss +++ b/src/styles/common/mixins/mixins.scss @@ -17,7 +17,7 @@ } @mixin deep() { - :deep() { + :deep(*) { @content; } }