From 73a5e692e3401695dea8d602cca3cadbc2934db9 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 05 九月 2024 15:38:08 +0800 Subject: [PATCH] 集成 amis编辑 --- src/utils/request.ts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/utils/request.ts b/src/utils/request.ts index 11258fd..8077272 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -37,11 +37,12 @@ clearAccessTokens(); window.location.reload(); }); +window.handleNoAuth = handleNoAuth; let requestNum = 0; let loadingInstance: ReturnType<typeof ElLoadingService>; const addLoading = () => { - // 澧炲姞loading 濡傛灉pending璇锋眰鏁伴噺绛変簬1锛屽脊鍑簂oading, 闃叉閲嶅寮瑰嚭 + // 澧炲姞loading 濡傛灉pending璇锋眰鏁伴噺绛変簬1锛屽脊鍑簂oading, 闃叉閲嶅寮瑰嚭F requestNum++; if (requestNum == 1) { loadingInstance = ElLoadingService({ -- Gitblit v1.9.3