From aa23921b1144084905dcbe4d47544aa79feb0447 Mon Sep 17 00:00:00 2001 From: bjang03 <259278618@qq.com> Date: Fri, 13 Sep 2024 18:18:11 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=99=90=E5=88=B6=E5=8F=AA=E6=9C=89MASTER=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=8F=AF=E4=BB=A5=E6=98=BE=E7=A4=BA=E8=A7=A3?= =?UTF-8?q?=E5=86=BB=E6=8C=89=E9=92=AE=202=E3=80=81=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E9=9A=BE=E5=BA=A6=E6=97=B6=E4=B8=8B=E6=96=B9?= =?UTF-8?q?=E7=BB=99=E5=87=BA=E5=AF=86=E7=A0=81=E8=A7=84=E5=88=99=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/passwordRule/index.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/system/passwordRule/index.vue b/src/views/system/passwordRule/index.vue index 74ca7f75f..4f2541f45 100644 --- a/src/views/system/passwordRule/index.vue +++ b/src/views/system/passwordRule/index.vue @@ -15,7 +15,7 @@ - + +
{{passwordConfig.ruleDesc}}
{ passwordConfig.value = { status: true, ruleLevel: "简单", - ruleDesc: "", + ruleDesc: "1", tryCount: 3, lockHours: 1, updatePeriod: 30, @@ -134,6 +135,13 @@ const getConfig = async () => { loading.value = false } } +const changeRule = async(v) =>{ + ruleList.value.forEach((item) => { + if(item.ruleLevel == v){ + passwordConfig.value.ruleDesc = item.desc + } + }) +} const ruleList = ref([]) /** 获取规则等级 */ const getRuleList = async () => {