This commit is contained in:
许允枞 2025-03-11 11:29:42 +08:00
parent 4f08f9be50
commit fd1ec60815
3 changed files with 6 additions and 2 deletions

View File

@ -948,6 +948,7 @@ image {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: white; color: white;
z-index: 999;
} }
.touxiang { .touxiang {

View File

@ -264,6 +264,7 @@
title:'发布成功' title:'发布成功'
}) })
setTimeout(() => { setTimeout(() => {
//
uni.navigateBack(); uni.navigateBack();
}, 1000); }, 1000);
@ -303,7 +304,9 @@
}, },
uploadSuccess(result){ uploadSuccess(result){
this.result = result this.result = result
this.box.filePath = result[0].fileName this.box.filePath = result[0].data.url
console.log(result)
console.log(this.box.filePath,'图片路径')
this.uploadWaiting = true this.uploadWaiting = true
uni.showToast({ uni.showToast({
title:'上传完成', title:'上传完成',

View File

@ -127,7 +127,7 @@ export default {
this.getlist() this.getlist()
}, },
onShow() { onShow() {
this.getlist()
}, },
onReachBottom() { onReachBottom() {