This commit is contained in:
Vinjor 2025-04-25 18:22:33 +08:00
parent f589b4adcf
commit 238044eb0c
6 changed files with 2 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -44,10 +44,8 @@ const request = config => {
const code = res.data.code || 200
const msg = errorCode[code] || res.data.msg || errorCode['default']
if (code === 401) {
store.dispatch('LogOut').then(res => {
uni.navigateTo({
url: '/pages/login?canBack=true'
})
uni.navigateTo({
url: '/pages/login?canBack=true'
})
} else if (code === 500) {
toast(msg)