
生成的临时路径是没有完整的路径没办法上传到服务器
16:37:40.993 添加水印后的路径, _doc/uniapp_temp_1710923708347/canvas/17109238597881.png 16:37:41.041 添加水印后的完整路径, file://storage/emulated/0/Android/data/com.jingruan.zjd/apps/__UNI__BE4B000/doc/uniapp_temp_1710923708347/canvas/17109238597881.png 使用以下代码得到完整的路径
let path = 'file:/' + plus.io.convertLocalFileSystemURL(tempFilePath); 
完整代码如下 使用的插件市场的hpy-watermark组件 一共2个

效果是

其他页面调用方式
高德获取定位
uni.getLocation({ type: 'gcj02', geocode: true, isHighAccuracy: true, success: res => { const { province, city, district, street, streetNum, poiName } = res.address; this.villageReviewForm.preciseAddr = `${district}${street}${streetNum}${poiName}${res.longitude},${res.latitude}`; console.log("经纬度地点",this.villageReviewForm.preciseAddr) // 数据渲染 this.$forceUpdate(); } }); 获取上传数据结果
const fileList = this.$refs.uploadImage.fileList 组件样式

hpy-watermark.vue
upload-image.vue
点击重试