halo/console/console-src/modules/system
Ryan Wang 192b238e37
fix: it cannot be re-uploaded when the user's avatar cannot be obtained (#5270)
#### What type of PR is this?

/area console
/kind bug
/milestone 2.12.x

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

修复当头像因为后端服务无法正常变更时,前端因为一直处于 refetch 状态导致无法重新上传的问题。

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

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

#### Special notes for your reviewer:

1. 使用 https://github.com/AirboZH/plugin-uposs 存储服务创建一个存储策略。
2. 用户设置中的头像存储位置改为此存储策略。
3. 上传头像,观测是否一直处于重新获取的状态。

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

```release-note
优化头像上传,防止因为后端服务异常导致无法重新上传。
```
2024-01-29 08:06:02 +00:00
..
actuator Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
auth-providers refactor: simplify the logic of importing module 2024-01-10 12:42:05 +08:00
backup Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
plugins Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
roles refactor: improve role dependency-related functions and i18n (#5227) 2024-01-24 02:34:11 +00:00
settings Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00
tools feat: add tools page for console (#5252) 2024-01-26 02:40:08 +00:00
users fix: it cannot be re-uploaded when the user's avatar cannot be obtained (#5270) 2024-01-29 08:06:02 +00:00