fix: 修复登录后系统参数配置-显示设置和认证设置不显示
This commit is contained in:
parent
4102e2e667
commit
05f543cb51
|
@ -28,6 +28,7 @@ public class ShiroUtils {
|
||||||
filterChainDefinitionMap.put("/authsource/list/allenable", "anon");
|
filterChainDefinitionMap.put("/authsource/list/allenable", "anon");
|
||||||
filterChainDefinitionMap.put("/sso/signin", "anon");
|
filterChainDefinitionMap.put("/sso/signin", "anon");
|
||||||
filterChainDefinitionMap.put("/sso/callback", "anon");
|
filterChainDefinitionMap.put("/sso/callback", "anon");
|
||||||
|
filterChainDefinitionMap.put("/license/valid", "anon");
|
||||||
|
|
||||||
// for swagger
|
// for swagger
|
||||||
filterChainDefinitionMap.put("/swagger-ui.html", "anon");
|
filterChainDefinitionMap.put("/swagger-ui.html", "anon");
|
||||||
|
|
|
@ -62,6 +62,7 @@ import {DEFAULT_LANGUAGE} from "@/common/js/constants";
|
||||||
const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/);
|
const requireComponent = require.context('@/business/components/xpack/', true, /\.vue$/);
|
||||||
const display = requireComponent.keys().length > 0 ? requireComponent("./display/Display.vue") : {};
|
const display = requireComponent.keys().length > 0 ? requireComponent("./display/Display.vue") : {};
|
||||||
const auth = requireComponent.keys().length > 0 ? requireComponent("./auth/Auth.vue") : {};
|
const auth = requireComponent.keys().length > 0 ? requireComponent("./auth/Auth.vue") : {};
|
||||||
|
const license = requireComponent.keys().length > 0 ? requireComponent("./license/LicenseMessage.vue") : null;
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Login",
|
name: "Login",
|
||||||
|
@ -117,6 +118,10 @@ export default {
|
||||||
created: function () {
|
created: function () {
|
||||||
// 主页添加键盘事件,注意,不能直接在焦点事件上添加回车
|
// 主页添加键盘事件,注意,不能直接在焦点事件上添加回车
|
||||||
document.addEventListener("keydown", this.watchEnter);
|
document.addEventListener("keydown", this.watchEnter);
|
||||||
|
//
|
||||||
|
if (license.default) {
|
||||||
|
license.default.valid(this)
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
destroyed() {
|
destroyed() {
|
||||||
|
|
Loading…
Reference in New Issue