ll
liukangdong
2024-10-24 6139494798e7f91d7864fff4ed09ce9a08395ece
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 || {},