refactor(AppRoleRightsManager):优化角色标记选择和编辑功能- 在编辑角色时添加 type 参数,确保角色类型正确保存

- 在新增角色页面将角色标记设置为必选项,提高数据完整性- 优化角色保存逻辑,移除冗余的 if 语句
- 重构 back 方法,增加可选参数以提高灵活性
This commit is contained in:
aixianling
2025-01-07 09:20:48 +08:00
parent 532ceeb5e7
commit 385447d3b4
2 changed files with 15 additions and 16 deletions

View File

@@ -319,6 +319,7 @@ export default {
params: {
roleName: this.editName,
appId: this.row.appId,
type: this.row.type
},
})
.then((res) => {