Commit 59977d4c authored by 赵伟庚's avatar 赵伟庚

update: 首选项配置会话有效期最大值使用configmap中的值

parent fd116e07
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
</el-input> </el-input>
<el-tooltip placement="top-start" effect="light"> <el-tooltip placement="top-start" effect="light">
<template #content> <template #content>
<span>范围(10~30)</span> <span>{{`范围(10~${session_validity_max})`}}</span>
<br /> <br />
<span>单位,分钟</span> <span>单位,分钟</span>
<br /> <br />
...@@ -270,8 +270,8 @@ const state = reactive({ ...@@ -270,8 +270,8 @@ const state = reactive({
{ {
type: "number", type: "number",
min: 10, min: 10,
max: 30, max: session_validity_max,
message: "请输入10~30的整数", message: `请输入10~${session_validity_max}的整数`,
trigger: "blur", trigger: "blur",
}, },
], ],
...@@ -328,7 +328,6 @@ const { ...@@ -328,7 +328,6 @@ const {
} = toRefs(state); } = toRefs(state);
onBeforeMount(() => { onBeforeMount(() => {
getPreferenceConfig(); getPreferenceConfig();
console.log("最大时长限制是",session_validity_max)
}); });
//切换菜单选项 //切换菜单选项
const switchMenu = (index) => { const switchMenu = (index) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment