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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user