Skip to content

Commit

Permalink
refactor: use tanstack query to refactor comment-related fetching (ha…
Browse files Browse the repository at this point in the history
…lo-dev/console#892)

#### 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
ruibaby authored Feb 28, 2023
1 parent 9646d41 commit bd9c4da
Show file tree
Hide file tree
Showing 2 changed files with 208 additions and 259 deletions.
Loading

0 comments on commit bd9c4da

Please sign in to comment.