update: The code structure is finished, and the project can run successfully
This commit is contained in:
@@ -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: '添加成功!'
|
||||
|
||||
Reference in New Issue
Block a user