From ad3e8a6366b9afabebf33af63a07fe0a1c70920f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BF=9E=E5=AE=9D=E5=B1=B1?= <1253070437@qq.com> Date: Mon, 4 Nov 2024 15:35:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91loading?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E8=8E=B7=E5=BE=97=E7=B3=BB=E7=BB=9F=E5=86=85?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=9A=84=E7=B3=BB=E7=BB=9F=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snowy-admin-web/src/utils/loading.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/snowy-admin-web/src/utils/loading.js b/snowy-admin-web/src/utils/loading.js index 95936df3..00fe71ac 100644 --- a/snowy-admin-web/src/utils/loading.js +++ b/snowy-admin-web/src/utils/loading.js @@ -3,6 +3,8 @@ * @method start 创建 loading * @method done 移除 loading */ +import sysConfig from '@/config/index' + export const NextLoading = { // 创建 loading start: () => { @@ -11,14 +13,16 @@ export const NextLoading = { const body = document.body const div = document.createElement('div') div.setAttribute('class', 'admin-ui') - div.innerHTML = ` + const sysName = sysConfig.SYS_BASE_CONFIG.SNOWY_SYS_NAME + const htmlBefore = `