Browse Source

1、修改密码策略日密码错误次数描述

hella_online_20240913
bjang03 2 months ago
parent
commit
a6cc7d68b6
  1. 3
      src/api/system/password/index.ts
  2. 8
      src/views/system/passwordRule/index.vue

3
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 = () => {

8
src/views/system/passwordRule/index.vue

@ -36,9 +36,9 @@
</el-form-item>
</el-col>
<el-col>
<el-form-item label="锁定" prop="lockMinutes">
<el-form-item label="锁定" prop="lockHours">
<el-input-number
v-model="passwordConfig.lockMinutes"
v-model="passwordConfig.lockHours"
:min="1"
:precision="0"
style="margin-right: 10px"
@ -109,7 +109,7 @@ const reset = () => {
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,

Loading…
Cancel
Save