#### What type of PR is this?
/area ui
/kind bug
/milestone 2.21.x
#### What this PR does / why we need it:
Fix routing navigation issue with async route permission functions
Caused by https://github.com/halo-dev/halo/pull/7688
#### Does this PR introduce a user-facing change?
```release-note
None
```
#### What type of PR is this?
/area ui
/kind improvement
/milestone 2.20.x
#### What this PR does / why we need it:
支持检查是否有权限访问 /console。
#### Which issue(s) this PR fixes:
Fixes#6773
#### Does this PR introduce a user-facing change?
```release-note
None
```