bugfix
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
import axios from "axios";
|
||||
import {
|
||||
ElNotification,
|
||||
ElMessageBox,
|
||||
ElMessage,
|
||||
ElLoading,
|
||||
ElMessage,
|
||||
ElMessageBox,
|
||||
ElNotification,
|
||||
} from "element-plus";
|
||||
import { getToken } from "@/utils/auth";
|
||||
import errorCode from "@/utils/errorCode";
|
||||
import { tansParams, blobValidate } from "@/utils/ruoyi";
|
||||
import { blobValidate, tansParams } from "@/utils/ruoyi";
|
||||
import cache from "@/plugins/cache";
|
||||
import { saveAs } from "file-saver";
|
||||
import useUserStore from "@/store/modules/user";
|
||||
@ -133,7 +133,11 @@ service.interceptors.response.use(
|
||||
if (!isRelogin.show) {
|
||||
isRelogin.show = true;
|
||||
ElMessageBox.confirm("您已被挤下线", "系统提示", {
|
||||
showCancelButton: false,
|
||||
showClose: false,
|
||||
confirmButtonText: "重新登录",
|
||||
closeOnClickModal: false,
|
||||
closeOnPressEscape: false,
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
})
|
||||
|
Reference in New Issue
Block a user