mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /area console /kind feature /milestone 2.8.x #### What this PR does / why we need it: 在文章数据管理列表页面路由中记录查询条件,包括分页信息、筛选信息等。可以保证在刷新页面或者从文章编辑页面返回时保留之前的查询状态。 <img width="1758" alt="image" src="https://github.com/halo-dev/halo/assets/21301288/270948d6-d585-4b36-ad3a-93064cf47548"> TODO: - [x] 记录筛选条件,因为路由参数只能使用基本类型,但是原来的筛选条件的变量都是完整对象。 #### Which issue(s) this PR fixes: Fixes #4098 #### Special notes for your reviewer: 需要测试: 1. 文章管理列表的所有筛选项是否可以正常工作。 2. 尝试设置部分筛选,然后刷新页面,观察筛选条件是否正常保留。 #### Does this PR introduce a user-facing change? ```release-note Console 端的文章管理列表支持在地址栏记录筛选条件。 ``` |
||
---|---|---|
.. | ||
assets | ||
build | ||
components | ||
composables | ||
constants | ||
formkit | ||
layouts | ||
locales | ||
modules | ||
router | ||
setup | ||
stores | ||
styles | ||
utils | ||
views | ||
App.vue | ||
main.ts |