From a6cc7d68b65e46c95910155b48256de1867b7a9b Mon Sep 17 00:00:00 2001 From: bjang03 <259278618@qq.com> Date: Fri, 13 Sep 2024 16:06:55 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=AD=96=E7=95=A5=E6=97=A5=E5=AF=86=E7=A0=81=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=AC=A1=E6=95=B0=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/password/index.ts | 3 ++- src/views/system/passwordRule/index.vue | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/api/system/password/index.ts b/src/api/system/password/index.ts index 9f07574cc..13d65aa23 100644 --- a/src/api/system/password/index.ts +++ b/src/api/system/password/index.ts @@ -6,8 +6,9 @@ export interface PassWordConfigVO { ruleLevel: string ruleDesc: string tryCount: number - lockMinutes: number + lockHours: number updatePeriod: number + dayTryCount: number } // 获取密码策略 export const getConfig = () => { diff --git a/src/views/system/passwordRule/index.vue b/src/views/system/passwordRule/index.vue index ef8146487..74ca7f75f 100644 --- a/src/views/system/passwordRule/index.vue +++ b/src/views/system/passwordRule/index.vue @@ -36,9 +36,9 @@ - + { ruleLevel: "简单", ruleDesc: "", tryCount: 3, - lockMinutes: 1, + lockHours: 1, updatePeriod: 30, dayTryCount: 3, updateRemind: 7, @@ -120,7 +120,7 @@ const passwordConfig = ref({ ruleLevel: "简单", ruleDesc: "", tryCount: 3, - lockMinutes: 1, + lockHours: 1, updatePeriod: 30, dayTryCount: 3, updateRemind: 7,