更新记录
1.0.0(2021-06-11)
下载此版本
首次提交
平台兼容性
uni-app
Vue2 |
Vue3 |
Chrome |
Safari |
app-vue |
app-nvue |
Android |
iOS |
鸿蒙 |
- |
- |
√ |
√ |
√ |
× |
- |
- |
- |
微信小程序 |
支付宝小程序 |
抖音小程序 |
百度小程序 |
快手小程序 |
京东小程序 |
鸿蒙元服务 |
QQ小程序 |
飞书小程序 |
快应用-华为 |
快应用-联盟 |
√ |
√ |
√ |
√ |
- |
- |
- |
√ |
- |
√ |
√ |
其他
```html
上传压缩
复制代码
```javascript
<script>
export default {
data() {
return {
}
},
methods: {
resimg(e){
console.log(666,e)
},
slectimg(){
uni.chooseImage({
count: 1,
sizeType: ['original', 'compressed'],
sourceType: ['album','camera'],
success:(res)=> {
console.log(res.tempFilePaths);
this.$refs.imgcom.getImageInfo(res.tempFilePaths[0])
}
});
}
}
}
</script>
用不了