fix:修复快递归还异常bug
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user