Forráskód Böngészése

登录过期文案修改

wzl 2 éve
szülő
commit
8d11f70f88
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/request/http.ts

+ 1 - 1
src/request/http.ts

@@ -51,7 +51,7 @@ axios.interceptors.response.use(
       //   forbidClick: true
       // })
       if (response.data.code === '703' || response.data.code === '702' || response.data.code === '704') {
-        Vue.prototype.$message.error('登录过期,请重新登录')
+        Vue.prototype.$message.error('Your session has expired. Please log in again.')
         store.setAuth(false)
         store.clearToken()
         // 跳转登录页面,并将要浏览的页面fullPath传过去,登录成功后跳转需要访问的页面