|
@@ -47,6 +47,8 @@ const errorDataCallback = error => {
|
|
if (error.code === "106") {
|
|
if (error.code === "106") {
|
|
message = "身份验证失效,请重新登录";
|
|
message = "身份验证失效,请重新登录";
|
|
MessageBox.confirm(message, "重新登陆?", {
|
|
MessageBox.confirm(message, "重新登陆?", {
|
|
|
|
+ cancelButtonClass: "el-button--primary",
|
|
|
|
+ confirmButtonClass: "el-button--default-act",
|
|
type: "error",
|
|
type: "error",
|
|
callback: action => {
|
|
callback: action => {
|
|
if (action !== "confirm") return;
|
|
if (action !== "confirm") return;
|