forked from halo-dev/halo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use tanstack query to refactor system setting form fetching (…
…halo-dev#3606) #### What type of PR is this? /kind improvement #### What this PR does / why we need it: 使用 [TanStack Query](https://github.com/TanStack/query) 重构系统设置表单的逻辑,移除无意义的重复请求。 #### Which issue(s) this PR fixes: Ref halo-dev#3360 #### Special notes for your reviewer: 测试方式: 1. 测试系统设置的表单加载是否正常,以及保存之后重载配置是否正常。 #### Does this PR introduce a user-facing change? ```release-note None ```
- Loading branch information
Showing
2 changed files
with
102 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters