mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(TreeSelect): setData (#2028)
This commit is contained in:
parent
456273f639
commit
5c384e87ff
@ -81,7 +81,7 @@ VantComponent({
|
||||
const { children = [] } = items[mainActiveIndex] || {};
|
||||
|
||||
this.updateItemHeight(children);
|
||||
return this.setData({ subItems: children });
|
||||
return this.set({ subItems: children });
|
||||
},
|
||||
|
||||
// 更新组件整体高度,根据最大高度和当前组件需要展示的高度来决定
|
||||
|
Loading…
x
Reference in New Issue
Block a user