halo-admin/src
Ryan Wang 0a7cbd3018
feat: add support for resetting configmap of plugin and theme (#777)
#### What type of PR is this?

/kind feature

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

支持重置主题和插件的设置选项。适配 https://github.com/halo-dev/halo/pull/2964

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

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

#### Screenshots:

<img width="366" alt="image" src="https://user-images.githubusercontent.com/21301288/208022668-288fb8c5-ddd1-456c-9633-ec8865f3b1ba.png">

#### Special notes for your reviewer:

测试方式:

1. 安装若干带有设置选项主题和插件。
2. 进入主题和插件设置,改变部分设置并保存。
3. 重置主题和插件的设置,然后进入设置表单,检查是否已经恢复为了默认。

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

```release-note
支持重置主题和插件的设置选项。
```
2022-12-19 08:25:47 +00:00
..
assets fix: logo cannot be displayed after the build (#668) 2022-10-26 07:36:10 +00:00
build refactor: set the root path of the development environment to /console (#638) 2022-10-11 15:32:14 +00:00
components perf: improve the prompt for upload failure of the upload component (#769) 2022-12-14 09:14:29 +00:00
composables feat: api client requests support configuring the mute parameter to hide exception toast (#744) 2022-12-05 09:40:12 +00:00
constants feat: refining the logic of user roles (#749) 2022-12-07 04:40:53 +00:00
formkit feat: stop Implicit submission (#766) 2022-12-16 02:24:10 +00:00
layouts fix: the global search keyboard event is not removed when the component is unmounted (#767) 2022-12-13 03:30:44 +00:00
modules feat: add support for resetting configmap of plugin and theme (#777) 2022-12-19 08:25:47 +00:00
router refactor: managing logged-in user states with pinia (#699) 2022-11-23 08:39:29 +00:00
setup refactor: add loading states for data list (#703) 2022-11-24 03:46:10 +00:00
stores fix: ui is not updated after the theme is activated in the production (#746) 2022-12-07 02:50:53 +00:00
styles refactor: add loading states for data list (#703) 2022-11-24 03:46:10 +00:00
utils perf: improve the prompt for upload failure of the upload component (#769) 2022-12-14 09:14:29 +00:00
views perf: refine setup data and logic of post publish (#739) 2022-11-30 17:13:50 +00:00
App.vue refactor: router and menu generation (#651) 2022-10-19 08:54:13 +00:00
main.ts refactor: plugin extension points of console plugin (#738) 2022-11-30 17:15:50 +00:00