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
@@ -76,7 +76,7 @@ export default {
authorityId: this.activeUserId,
casbinInfos
})
if (res.success) {
if (res.code == 0) {
this.$message({ type: 'success', message: res.msg })
}
}
@@ -60,7 +60,7 @@ export default {
// 提交
async authDataEnter(){
const res = await setDataAuthority(this.row)
if(res.success){
if(res.code == 0){
this.$message({ type: 'success', message: res.msg })
}
},
@@ -46,7 +46,7 @@ export default {
menus: checkArr,
authorityId: this.row.authorityId
})
if (res.success) {
if (res.code == 0) {
this.$message({
type: 'success',
message: '添加成功!'