update: The code structure is finished, and the project can run successfully

This commit is contained in:
QM303176530
2020-04-05 16:19:34 +08:00
parent 08ff55ffce
commit c755120c8d
16 changed files with 53 additions and 39 deletions
+2 -2
View File
@@ -132,7 +132,7 @@ export default {
this.$refs.userForm.validate(async valid => {
if (valid) {
const res = await register(this.userInfo)
if (res.success) {
if (res.code == 0) {
this.$message({ type: 'success', message: '创建成功' })
}
await this.getTableData()
@@ -161,7 +161,7 @@ export default {
uuid: row.uuid,
authorityId: row.authority.authorityId
})
if (res.success) {
if (res.code == 0) {
this.$message({ type: 'success', message: '角色设置成功' })
}
}