Browse Source

密码策略密码位数修改为8-20

hella_online_20241128
bjang03 6 days ago
parent
commit
da1190b0e6
  1. 4
      src/views/login/updatePassword.vue
  2. 2
      src/views/login/updatePasswordNewTips.vue

4
src/views/login/updatePassword.vue

@ -6,7 +6,7 @@
<el-col> <el-col>
<el-form-item label="新密码" prop="password" align="center"> <el-form-item label="新密码" prop="password" align="center">
<el-input v-model="loginData.password" placeholder="请输入新密码" :type="isShowPassword?'text':'password'"/> <el-input v-model="loginData.password" placeholder="请输入新密码" :type="isShowPassword?'text':'password'"/>
<el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="18" @click="isShowPassword = !isShowPassword"> <el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="20" @click="isShowPassword = !isShowPassword">
<View v-if="!isShowPassword"/> <View v-if="!isShowPassword"/>
<Hide v-if="isShowPassword"/> <Hide v-if="isShowPassword"/>
</el-icon> </el-icon>
@ -15,7 +15,7 @@
<el-col> <el-col>
<el-form-item label="确认新密码" prop="againPassword"> <el-form-item label="确认新密码" prop="againPassword">
<el-input v-model="loginData.againPassword" placeholder="请再次新密码" :type="isShowAgainPassword?'text':'password'"/> <el-input v-model="loginData.againPassword" placeholder="请再次新密码" :type="isShowAgainPassword?'text':'password'"/>
<el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="18" @click="isShowAgainPassword = !isShowAgainPassword"> <el-icon style="position: absolute; right: 10px;cursor: pointer;" color="#a5a5a5" size="20" @click="isShowAgainPassword = !isShowAgainPassword">
<View v-if="!isShowAgainPassword"/> <View v-if="!isShowAgainPassword"/>
<Hide v-if="isShowAgainPassword"/> <Hide v-if="isShowAgainPassword"/>
</el-icon> </el-icon>

2
src/views/login/updatePasswordNewTips.vue

@ -32,7 +32,7 @@
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<!-- <div class="tips">温馨提示<span>密码长度通常需要在6-20个字符之间</span></div>--> <!-- <div class="tips">温馨提示<span>密码长度通常需要在8-20个字符之间</span></div>-->
<div class="dialog-footer"> <div class="dialog-footer">
<el-button type="primary" @click="submitForm" style="width: 100%;height: 40px;line-height: 40px;"> </el-button> <el-button type="primary" @click="submitForm" style="width: 100%;height: 40px;line-height: 40px;"> </el-button>
</div> </div>

Loading…
Cancel
Save