refactor(AppRoleRightsManager):优化角色标记选择和编辑功能- 在编辑角色时添加 type 参数,确保角色类型正确保存
- 在新增角色页面将角色标记设置为必选项,提高数据完整性- 优化角色保存逻辑,移除冗余的 if 语句 - 重构 back 方法,增加可选参数以提高灵活性
This commit is contained in:
@@ -319,6 +319,7 @@ export default {
|
||||
params: {
|
||||
roleName: this.editName,
|
||||
appId: this.row.appId,
|
||||
type: this.row.type
|
||||
},
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user