From 85417a0467d2dba8864b9a0619f6910862aff259 Mon Sep 17 00:00:00 2001 From: ChenX Date: Tue, 30 Mar 2021 14:03:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=E8=BD=BD=E5=85=A5=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AF=BC=E8=87=B4=E6=8F=90=E7=A4=BA=E6=A1=86=E4=B8=A2?= =?UTF-8?q?=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.html | 2 +- src/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index f2a744925..36c7ec813 100644 --- a/src/index.html +++ b/src/index.html @@ -11,7 +11,7 @@ - 正在载入,请稍候... +
正在载入,请稍候...
diff --git a/src/index.tsx b/src/index.tsx index d1f3025c7..4c8727c9c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -106,7 +106,8 @@ document.addEventListener("keydown", (e: KeyboardEvent) => window.onload = function () { - document.body.innerHTML = ""; + let el = document.getElementById("page_loading"); + el.remove(); function isWebGLAvailable() { try