jiangping
2024-10-09 c5cc7da07c7f202f336468c0cd0d2789b4775b03
h5/utils/service.js
@@ -34,13 +34,13 @@
                        duration: 2000
                     })
                  })
                  if (data.code === 500) {
                     uni.clearStorageSync()
                     return uni.navigateTo({
                        url: '/pages/login/login'
                     })
                  }
                  return
               }
               if (data.code === 5112) {
                  uni.clearStorageSync()
                  return uni.navigateTo({
                     url: '/pages/login/login'
                  })
               }
               resolve(data)
               // return response.data