diff --git a/.env.production b/.env.production index 6f6e14c..92b14ed 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ VUE_APP_MODE=production -VUE_APP_SERVER=https://xingao.quhouse.com +VUE_APP_SERVER=https://erpx.2weisou.com/sjjy url1=https://chh.quhouse.com diff --git a/src/common/http.interceptor.js b/src/common/http.interceptor.js index 8be1547..931767b 100644 --- a/src/common/http.interceptor.js +++ b/src/common/http.interceptor.js @@ -39,12 +39,12 @@ const install = (Vue, vm) => { Vue.prototype.$u.http.interceptor.response = (res) => { if (res.data.ErrNo == '0000') { return res.data; - } else if (res.data.ErrNo == '0005') { - // uni.showToast({ - // title: res.data.ErrMsg || '未登录', - // icon: "none", - // duration: 3000 - // }) + } else if (res.data.ErrNo == '0005'|| res.data.ErrNo == '0002') { + uni.showToast({ + title: res.data.ErrMsg || '未登录', + icon: "none", + duration: 3000 + }) uni.navigateTo({ url: '/pages/tabs/login' }); diff --git a/src/pages/otherPage/jjrent.vue b/src/pages/otherPage/jjrent.vue index 47d34ce..dd6eb7c 100644 --- a/src/pages/otherPage/jjrent.vue +++ b/src/pages/otherPage/jjrent.vue @@ -8,7 +8,7 @@ - + {{item.address}} @@ -24,7 +24,7 @@ - +