diff --git a/core/apps/AppRightsManager/rightsAdd.vue b/core/apps/AppRightsManager/rightsAdd.vue index f6980d33..d5135d47 100644 --- a/core/apps/AppRightsManager/rightsAdd.vue +++ b/core/apps/AppRightsManager/rightsAdd.vue @@ -137,7 +137,7 @@ export default { this.instance.post(this.top.actions.modify, null, { params: {...this.form, menus} }).then(res => { - if (res?.msg == "success") { + if (res?.code == 0) { this.$message.success(`${this.msgTitle}应用角色成功`) this.back() this.top.searchList()