优化代码

This commit is contained in:
RuoYi
2021-11-30 11:15:17 +08:00
parent bf4ac3ad7a
commit a2d3f987c0
8 changed files with 27 additions and 9 deletions

View File

@ -596,7 +596,7 @@ export default {
cancelButtonText: "取消",
closeOnClickModal: false,
inputPattern: /^.{5,20}$/,
inputErrorMessage: "用户密码长度必须介于 5 和 20 之间",
inputErrorMessage: "用户密码长度必须介于 5 和 20 之间"
}).then(({ value }) => {
resetUserPwd(row.userId, value).then(response => {
this.$modal.msgSuccess("修改成功,新密码是:" + value);