顶部修改密码
This commit is contained in:
@@ -256,9 +256,11 @@ export default {
|
||||
rolesIds.push(el)
|
||||
}
|
||||
})
|
||||
await usersAdd(this.username, this.name, this.sex, this.phone, rolesIds, this.password)
|
||||
this.toast('操作成功')
|
||||
this._usersQuery()
|
||||
let res = await usersAdd(this.username, this.name, this.sex, this.phone, rolesIds, this.password)
|
||||
if (res.code === '1') {
|
||||
this._usersQuery()
|
||||
}
|
||||
this.toast(res.desc)
|
||||
this.$refs.child.active = false
|
||||
this.$refs.child.disabled = false
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user