ソースを参照

修改退出文案

Michael Wang 5 年 前
コミット
297ca21178
2 ファイル変更3 行追加3 行削除
  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;
             },