10 2021 档案

摘要:上传图片到云存储。 uni.chooseImage({ count:1, success:res=>{ this.src=res.tempFilePaths[0] console.log(res.tempFilePaths[0]) uniCloud.uploadFile({ filePath:res 阅读全文
posted @ 2021-10-23 19:29 泫然 阅读(564) 评论(0) 推荐(0)
摘要:想获取位置并赋值给变量 uni.getLocation({ type: 'wgs84', success: (res)=> { console.log('当前位置的经度:' + res.longitude); console.log('当前位置的纬度:' + res.latitude); this. 阅读全文
posted @ 2021-10-19 23:22 泫然 阅读(1002) 评论(1) 推荐(0)