From 32b801e010dea27002bc05b5a67503452e42d4fe Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 18 Sep 2024 15:51:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=AA=E8=A1=A8=E6=9D=BF):=20v2=20?= =?UTF-8?q?=E5=85=AC=E5=85=B1=E9=93=BE=E6=8E=A5=E8=A7=86=E5=9B=BE=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E5=AF=BC=E5=87=BA=E4=BC=98=E5=8C=96=20#11487?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/utils/loading.ts | 2 +- core/core-frontend/src/views/share/link/index.vue | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/utils/loading.ts b/core/core-frontend/src/utils/loading.ts index fc23280578..71e1b08438 100644 --- a/core/core-frontend/src/utils/loading.ts +++ b/core/core-frontend/src/utils/loading.ts @@ -16,7 +16,7 @@ export const tryHideLoading = identification => { /** * 说明 * 要在view中加loading只需要两个步骤 - * 1.在vue页面文件中加 v-loading="requestStore.loadingMap[requestStore.currentPath]" + * 1.在vue页面文件中加 v-loading="requestStore.loadingMap[permissionStore.currentPath]" * 例如:views/system/user/index.vue * 2.在需要loading的api中添加config {loading: true} * 例如:api/system/user.js中userLists方法 需要配置loading: true diff --git a/core/core-frontend/src/views/share/link/index.vue b/core/core-frontend/src/views/share/link/index.vue index a230deb9ae..b7cd0f34d8 100644 --- a/core/core-frontend/src/views/share/link/index.vue +++ b/core/core-frontend/src/views/share/link/index.vue @@ -1,5 +1,8 @@