@@ -59,9 +59,9 @@ const request = config => {
}
if (code === 401 || code === -10) {
- if (getToken()) {
+ if (getAdminToken()) {
store.dispatch('LogOut').then(() => {
- uni.reLaunch({ url: '/pages/login' })
+ uni.reLaunch({ url: '/pages/cjx/hexiao/login' })
})
result.success = false