用户相关接口修改

This commit is contained in:
yulixing 2019-07-18 20:21:39 +08:00
parent 386e771d29
commit c668ad1358
2 changed files with 2 additions and 2 deletions

View File

@ -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 => {

View File

@ -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) {