mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
commit
8aecb0e843
@ -101,6 +101,9 @@ VantComponent({
|
||||
|
||||
setListRect() {
|
||||
return getRect(this, '.van-index-bar').then((rect) => {
|
||||
if (!isDef(rect)) {
|
||||
return;
|
||||
}
|
||||
Object.assign(this, {
|
||||
height: rect.height,
|
||||
top: rect.top + this.scrollTop,
|
||||
|
Loading…
x
Reference in New Issue
Block a user