[update] 校验

This commit is contained in:
zhaomeijing
2022-06-09 13:46:16 +08:00
parent a2868a1c9a
commit a9f8f9346c
2 changed files with 3 additions and 5 deletions
+1 -4
View File
@@ -139,13 +139,10 @@ export default {
...this.form
}
if(this.form.username !== undefined) {
this.form.username = `*${this.form.username}*`
params.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
}