[update] 校验

This commit is contained in:
zhaomeijing
2022-06-09 12:03:43 +08:00
parent 49b9f6de19
commit a2868a1c9a
3 changed files with 13 additions and 0 deletions
@@ -138,8 +138,14 @@ export default {
pageSize: this.pageSize,
...this.form
}
if(this.form.username !== undefined) {
this.form.username = `*${this.form.username}*`
}
getAction(`sys/user/page`, params).then(res => {
if (res.success) {
if(this.form.username !== undefined) {
this.form.username = this.form.username.slice(1,this.form.username.length-1)
}
this.areaTable = [...res.result.records]
this.total = res.result.total
}