MrShi
2025-08-21 63e62f860958716da9ebb34ce07c8d616b305b8e
small-program/pages/using-workers/using-workers.vue
@@ -23,8 +23,11 @@
               </view>
               <view class="list-item-row">
                  <view class="list-item-row-label">地点描述</view>
                  <view class="list-item-row-val">
                  <!-- <view class="list-item-row-val">
                     <input type="text" v-model="form.locationRemark" placeholder="请输入" />
                  </view> -->
                  <view class="list-item-row-val">
                     <textarea v-model="form.locationRemark" cols="30" rows="10" placeholder="请输入" maxlength="200"></textarea>
                  </view>
               </view>
            </template>
@@ -314,10 +317,10 @@
         uploadImg() {
            uni.chooseImage({
               success: (chooseImageRes) => {
                  const tempFilePaths = chooseImageRes.tempFilePaths;
                  for (let i = 0; i < chooseImageRes.tempFilePaths.length; i++) {
                  uni.uploadFile({
                     url: this.$baseUrl + '/web/public/upload',
                     filePath: tempFilePaths[0],
                        filePath: chooseImageRes.tempFilePaths[i],
                     name: 'file',
                     formData: {
                        'folder': 'orders'
@@ -333,6 +336,7 @@
                     }
                  });
               }
               }
            });
         }
      }