提交 b6e3d4d2 编写于 作者: changdi.hao's avatar changdi.hao

增加跳转登录页面

上级 e6b3bed6
......@@ -34,6 +34,7 @@
import { mapGetters } from "vuex";
import { setTimeout } from "timers";
import { isNotEmptyUtils } from "../../utils/utils";
import { getInnerLoginUrl } from "../../utils";
let vm = null;
export default {
props: {
......@@ -83,6 +84,8 @@ export default {
);
// 做当前路由无权限时处理
// this.checkAuth(this.$route.path.split("/")[1], vueMenuDtos);
} else {
window.location.href = getInnerLoginUrl(); // 返回登录页面
}
});
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册