h5/utils/service.js
@@ -39,10 +39,10 @@ 'title': '服务器异常',icon:'none' }) } if (data.code === 5112) { uni.clearStorageSync() window.location.href = app_url } // if (data.code === 5112) { // uni.clearStorageSync() // window.location.href = app_url // } return resolve(data) } resolve(data)