-
Notifications
You must be signed in to change notification settings - Fork 485
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang, wzrove The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
#### What type of PR is this? /kind improvement #### What this PR does / why we need it: 优化 Console 端加载插件资源的逻辑。 1. 查询接口改为自定义接口,传入 enabled 参数进行筛选。 2. 修改符合 Console 插件的筛选判断。 3. 隐藏加载异常的提示。 #### Which issue(s) this PR fixes: Fixes halo-dev#3156 #### Special notes for your reviewer: 测试方式: 1. 安装若干带有 Console 端拓展的插件,比如:https://github.com/halo-sigs/plugin-stackedit 2. 检查是否有加载成功。 3. 创建一个没有插件访问权限的角色。 4. 登录之后检查是否有无权限提示。 #### Does this PR introduce a user-facing change? ```release-note 优化 Console 端加载插件资源的逻辑。 ```
What type of PR is this?
/kind improvement
What this PR does / why we need it:
优化 Console 端加载插件资源的逻辑。
Which issue(s) this PR fixes:
Fixes halo-dev/halo#3156
Special notes for your reviewer:
测试方式:
Does this PR introduce a user-facing change?