文件地址:view/uniapp/pages/index/components/pictureCube.vue
行数:199
添加如下代码
if (this.style == 10) {
uni.getImageInfo({
src: this.picList[0].image,
success: (image) => {
this.imageH = image.height * this.imageH / image.width
}
})
}