Browse Source

fix:未登录提示

magic v 4 years ago
parent
commit
6ab5e15c3b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/utils/http/index.js

+ 1 - 0
src/utils/http/index.js

@@ -41,6 +41,7 @@ service.interceptors.response.use(
      */
     const res = response.data
     if (res.code === 508) {
+      Toast.fail(res.message)
       await store.dispatch('Logout')
       // await single.run(() => {
       //   return Dialog.alert({