1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 21:29:31 +08:00

fix: 修复图库功能loading 成功状态 error 改为 success

This commit is contained in:
小莫唐尼
2025-07-20 00:04:53 +08:00
parent c17e668afe
commit 97e358e41f
+1 -1
View File
@@ -244,7 +244,7 @@ export default {
.getPhotoListByGroupName(this.queryParams) .getPhotoListByGroupName(this.queryParams)
.then(res => { .then(res => {
this.hasNext = res.hasNext; this.hasNext = res.hasNext;
this.loading = 'error'; this.loading = 'success';
if (res.items.length !== 0) { if (res.items.length !== 0) {
const _list = res.items.map((item, index) => { const _list = res.items.map((item, index) => {
item.spec.url = this.$utils.checkImageUrl(item.spec.url || item.spec.cover); item.spec.url = this.$utils.checkImageUrl(item.spec.url || item.spec.cover);