From 6139494798e7f91d7864fff4ed09ce9a08395ece Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 24 十月 2024 18:29:54 +0800 Subject: [PATCH] ll --- pda/utils/service.js | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/pda/utils/service.js b/pda/utils/service.js index 0253a05..342b331 100644 --- a/pda/utils/service.js +++ b/pda/utils/service.js @@ -5,15 +5,10 @@ let token = uni.getStorageSync('token') || null // 鍦ㄧ櫥褰曠殑鏃跺�欓渶瑕佸偍瀛� token uni.setStorageSync("authorization","杩欓噷鏄櫥褰曡幏鍙栫殑token鍊�") - // uni.showLoading({ - // title:"鍔犺浇涓�..." - // }) - if(!options.hideLoading){ - uni.showLoading({ - title: '鍔犺浇涓�', - mask: true - }) - } + uni.showLoading({ + title: '鍔犺浇涓�', + mask: true + }) uni.request({ url: baseUrl + options.url, data: options.data || {}, -- Gitblit v1.9.3