[youzan/vant-weapp]van-tabs 组件在小程序的问题

2024-05-15 825 views
5

以上为页面代码 设置粘性布局后,通过便利组件

image

如果第一个页面的数据没有超过页面,那么点击第二个页面往下滑动的时候,会出现这样的问题

image

上面是理想的效果图,下面那张是实际的效果图

image

回答

3

页面返回后。会提示这个错误

Cannot read property 'getComputedName' of undefined;at api nextTick callback function TypeError: Cannot read property 'getComputedName' of undefined

6

第1个问题有issue在跟进咯 #2310 第2个问题已经修复了,升级到1.0.0正式版即可。

2

tabs/index.ts image 我也遇到该问题,暂时这样整了,等大佬修复。