mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(DropdownMenu): annotation error (#2320)
This commit is contained in:
parent
aa44a107df
commit
15ea958b4f
2
dist/dropdown-menu/index.js
vendored
2
dist/dropdown-menu/index.js
vendored
@ -19,7 +19,7 @@ VantComponent({
|
|||||||
childIndex: this.children.length
|
childIndex: this.children.length
|
||||||
});
|
});
|
||||||
this.children.push(target);
|
this.children.push(target);
|
||||||
// 收集 dorpdown-item 的 data 挂在 data 上
|
// 收集 dropdown-item 的 data 挂在 data 上
|
||||||
target &&
|
target &&
|
||||||
this.setData({
|
this.setData({
|
||||||
itemListData: this.data.itemListData.concat([target.data])
|
itemListData: this.data.itemListData.concat([target.data])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user