main
liudan 2 years ago
parent 9af632bc41
commit 7c97fd4d5e
  1. 4
      common/http.interceptor.js
  2. 3
      pages/detail/detail.vue
  3. 2
      pages/my/my.vue

@ -69,7 +69,7 @@ module.exports = (vm) => {
icon:'none'
});
if(data.code==401){
uni.navigateTo({
uni.reLaunch({
url:'/pages/login/login'
})
}
@ -79,7 +79,7 @@ module.exports = (vm) => {
}, (response) => {
if(response.data.code==401){
uni.navigateTo({
uni.reLaunch({
url:'/pages/login/login'
})
}

@ -172,7 +172,8 @@
// }).catch((res) =>{
// })
articleDetails({ids:this.id},{custom: { auth: true }}).then(res=>{
// {custom: { auth: true }}
articleDetails({ids:this.id}).then(res=>{
this.titleInfo = res;
if(res.is_collect==0){
this.isCollect = false

@ -105,7 +105,7 @@
}
},
goLogin(){
uni.navigateTo({
uni.reLaunch({
url:'/pages/login/login'
})
},

Loading…
Cancel
Save