tweak mock

This commit is contained in:
Pan
2019-03-20 11:00:54 +08:00
parent d927d4172f
commit 7c33568883
6 changed files with 59 additions and 29 deletions

View File

@@ -230,7 +230,7 @@ export default {
}
} else {
const { data } = await addRole(this.role)
this.role.key = data
this.role.key = data.key
this.rolesList.push(this.role)
}