From 4d9849a7182a97000f6a3a73789be950c2dcbdf9 Mon Sep 17 00:00:00 2001 From: zhoufeifan <937127883@qq.com> Date: Thu, 31 Mar 2022 14:57:00 +0800 Subject: [PATCH] Update index.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 去掉额外的分号 --- packages/preload/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/preload/index.ts b/packages/preload/index.ts index 424096f..3368dbd 100644 --- a/packages/preload/index.ts +++ b/packages/preload/index.ts @@ -2,6 +2,6 @@ import { domReady } from './utils' import { useLoading } from './loading' const { appendLoading, removeLoading } = useLoading() -window.removeLoading = removeLoading; +window.removeLoading = removeLoading domReady().then(appendLoading)