fix:修复快递归还异常bug

This commit is contained in:
2025-10-10 20:25:57 +08:00
parent a67030ec43
commit 30e298d9d2
7 changed files with 239 additions and 216 deletions
+4 -3
View File
@@ -21,7 +21,7 @@
</view>
<!-- 图片上传 -->
<!-- <view class="upload-section">
<view class="upload-section">
<view class="section-title">图片上传选填</view>
<view class="upload-grid">
<view class="upload-item" v-for="(img, index) in images" :key="index">
@@ -33,7 +33,7 @@
<text class="tip">上传图片</text>
</view>
</view>
</view> -->
</view>
<!-- 联系方式 -->
<view class="contact-section">
@@ -80,6 +80,7 @@
uni.chooseImage({
count: 3 - images.value.length,
success: async (res) => {
console.log(res);
const toUpload = res.tempFilePaths || []
for (const localPath of toUpload) {
// 先追加本地预览,再上传并替换为远程URL
@@ -142,7 +143,7 @@
type: paramsType.value,
content: description.value,
phone: contact.value,
// images: images.value
picturePath: images.value
}
uni.request({