2***@qq.com
2***@qq.com
  • 发布:2019-08-12 13:51
  • 更新:2019-08-12 13:51
  • 阅读:642

#bug# Android swiper组件 高度无法动态赋值(已修复)

分类:uni-app

<swiper :style="'height: '+swipeHeight+'upx;'"></swiper>

data() {
return {
swipeHeight:0
}
}

changeSwipeHeight() {
const totalHeight = this.TabCur == 0 ? 150 :
this.TabCur == 1 ? 250 : 350
return totalHeight
}

上述代码 web 运行 totalHeight 赋值正常
android 运行 totalHeight 始终为150

该问题已修复

2019-08-12 13:51 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复