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,