Fix(店铺/上传):[#1368]店铺主页上传店铺图片,返回后没有显示刚上传的图片

This commit is contained in:
lifizer
2024-04-30 15:08:10 +08:00
parent 4064e214af
commit 70853005d9
+4 -3
View File
@@ -155,9 +155,9 @@ export default {
});
});
/* uni.showLoading({
uni.showLoading({
title: `正在上传...`,
}); */
})
Promise.all(promises).then((data) => {
// uni.hideLoading();
@@ -165,9 +165,10 @@ export default {
this.upload_cache_list.push(...data);
console.log("after uploaded upload_cache_list:"+JSON.stringify(this.upload_cache_list))
this.emit();
uni.hideLoading()
}).catch((res) => {
console.log(res);
// uni.hideLoading();
uni.hideLoading()
});
},
choose() {