mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2026-07-06 23:01:06 +08:00
Compare commits
2 Commits
eeef385552
...
8aecb0e843
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8aecb0e843 | ||
|
|
f2080a3b3b |
@ -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