h5/pages/userinfo/userinfo.vue
@@ -153,6 +153,11 @@ upload(type) { uni.chooseImage({ success: (chooseImageRes) => { // console.log(chooseImageRes.tempFilePaths[0]) uni.navigateTo({ url: `/pages/cropping/cropping?item=${JSON.stringify({ tempFilePath: chooseImageRes.tempFilePaths[0] })}` }) return uni.showLoading({ title: '上传中', mask: true }); for (let i = 0; i < chooseImageRes.tempFilePaths.length; i++) { uni.uploadFile({