mirror of https://github.com/halo-dev/halo
![]() #### What type of PR is this? /area ui /kind improvement /milestone 2.21.x #### What this PR does / why we need it: In the attachment upload modal, we previously persisted the user’s selected storage policy and group to make future uploads more convenient. However, this overlooked a common usage scenario—users often apply filters for storage policy and group in the attachment list before uploading. Persisting those previous selections could then conflict with the current filters and cause confusion. This PR removes the persistence of selected group and storage policy to avoid such mismatches. #### Which issue(s) this PR fixes: Fixes #7713 #### Does this PR introduce a user-facing change? ```release-note 在附件上传组件中取消所选分组和存储策略的持久化,默认选择为附件列表筛选条件相同的策略和分组。 ``` |
||
---|---|---|
.. | ||
attachments | ||
comments | ||
pages | ||
posts |