用户相关接口修改
This commit is contained in:
parent
386e771d29
commit
c668ad1358
@ -107,7 +107,7 @@ export default {
|
||||
this.userForm.password === this.userForm.confirm_password
|
||||
) {
|
||||
changePwd({
|
||||
fullname: this.userForm.fullname,
|
||||
username: this.userForm.username,
|
||||
password: this.userForm.password
|
||||
})
|
||||
.then(res => {
|
||||
|
@ -254,7 +254,7 @@ export default {
|
||||
type: 'warning'
|
||||
})
|
||||
.then(() => {
|
||||
delUser({ fullname: row.fullname })
|
||||
delUser({ fullname: row.fullname, username: row.username })
|
||||
.then(res => {
|
||||
const data = res.data
|
||||
if (data.errcode === 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user