[update] 校验
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user