Explorar o código

修改退出文案

Michael Wang %!s(int64=5) %!d(string=hai) anos
pai
achega
297ca21178
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  1. 1 1
      src/mixins/mixins.js
  2. 2 2
      src/utils/axios.js

+ 1 - 1
src/mixins/mixins.js

@@ -132,7 +132,7 @@ Vue.mixin({
       const redirectUrl = sessionStorage.getItem("redirectUrl");
       if (redirectUrl) {
         this.$Modal.error({
-          title: "确认退出",
+          title: "确认返回",
           content: "",
           onOk: () => {
             window.location = redirectUrl;

+ 2 - 2
src/utils/axios.js

@@ -109,8 +109,8 @@ qmInstance.interceptors.response.use(
         const redirectUrl = sessionStorage.getItem("redirectUrl");
         if (redirectUrl) {
           Modal.error({
-            title: "确认退出",
-            content: "登录失效",
+            title: "确认返回",
+            content: "token失效",
             onOk: () => {
               window.location = redirectUrl;
             },