halo/console/console-src/modules/system/users
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
..
components chore: use lodash-es instead of lodash (#5125) 2023-12-28 09:13:38 +00:00
composables refactor: improve project structure for user center feature (#4839) 2023-11-09 06:56:06 +00:00
tabs feat: refine user center feature (#4857) 2023-11-16 15:51:19 +08:00
widgets feat: refine i18n for uc (#4957) 2023-11-30 10:56:10 +00:00
Binding.vue refactor: improve project structure for user center feature (#4839) 2023-11-09 06:56:06 +00:00
Login.vue feat: support reset passwords based on email address (#4941) 2023-12-01 03:06:09 +00:00
UserDetail.vue fix: it cannot be re-uploaded when the user's avatar cannot be obtained (#5270) 2024-01-29 08:06:02 +00:00
UserList.vue feat: record the user query conditions in the route query parameters (#5071) 2023-12-21 06:52:12 +00:00
module.ts Refactor menu generation strategy to support sub-menu items. (#5177) 2024-01-19 05:34:10 +00:00