update 实现修改密码. 并对一些用户填写的格式进行了验证

This commit is contained in:
2021-05-09 20:00:50 +08:00
parent 57e1a4231d
commit 76a74dd63f
19 changed files with 462 additions and 53 deletions

View File

@@ -13,6 +13,9 @@ export default {
},
action: {
type: Function
},
successMessage: {
type: String
}
},
@@ -124,7 +127,7 @@ export default {
&& this.action(data)
.then(({ success }) => {
if (success) {
this.$message.success('保存成功');
this.$message.success(this.successMessage || '保存成功');
this.onClose();
this.$emit('ok');
}