From b8befaa973ca7bc6edf52c5a1ae3072c2be059e9 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Fri, 15 Aug 2025 07:43:45 +0800 Subject: [PATCH] no message --- resources/assets/js/app.js | 1 + resources/assets/statics/public/css/loading.css | 3 +++ 2 files changed, 4 insertions(+) diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js index dd17014d6..034ee5361 100644 --- a/resources/assets/js/app.js +++ b/resources/assets/js/app.js @@ -346,6 +346,7 @@ const $preload = async () => { return } + document.querySelector(".app-view-loading")?.setAttribute("data-visible", "false") window.__initializeApp = async (loadHash) => { if (/^https?:\/\//.test(loadHash)) { if ($A.getDomain(loadHash) !== $A.getDomain($A.mainUrl())) { diff --git a/resources/assets/statics/public/css/loading.css b/resources/assets/statics/public/css/loading.css index 10897ac88..a76273001 100644 --- a/resources/assets/statics/public/css/loading.css +++ b/resources/assets/statics/public/css/loading.css @@ -16,6 +16,9 @@ micro-app-body .app-view-loading { .app-view-loading > div { text-align: center; } +.app-view-loading[data-visible=false] > div { + opacity: 0; +} .app-view-loading > div > div { color: #ccc; margin: 0;