halo/console/console-src/modules
Ryan Wang 28ee0bf0e0
refactor: improve role dependency-related functions and i18n (#5227)
#### What type of PR is this?

/area console
/area core
/milestone 2.12.x

#### What this PR does / why we need it:

优化角色模板依赖的相关功能:

1. 修复勾选某个角色模板之后,其下依赖模板没有选中的问题。
2. 修复编辑角色时,模板其下依赖模板没有选中的问题。
3. 修复角色管理列表中,权限数量显示有误的问题。
4. 移除 **允许管理所有文章** 的角色模板,此角色模板与文章管理重复。
5. 优化 i18n。

#### Which issue(s) this PR fixes:

Fixes https://github.com/halo-dev/halo/issues/5222

#### Special notes for your reviewer:

需要测试上诉问题是否还存在。

#### Does this PR introduce a user-facing change?

```release-note
优化角色模板依赖的相关功能,优化文章相关角色的翻译。
```
2024-01-24 02:34:11 +00:00
..
contents feat: refactor editor image block upload logic (#5159) 2024-01-19 17:39:06 +08:00
dashboard chore: use lodash-es instead of lodash (#5125) 2023-12-28 09:13:38 +00:00
interface Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
system refactor: improve role dependency-related functions and i18n (#5227) 2024-01-24 02:34:11 +00:00
index.ts Fix imports 2024-01-10 14:35:17 +08:00