From 15ea958b4f7edc293dab60256b4a4754b98a6cf6 Mon Sep 17 00:00:00 2001 From: Wynnfan Date: Mon, 18 Nov 2019 13:08:25 +0800 Subject: [PATCH] fix(DropdownMenu): annotation error (#2320) --- dist/dropdown-menu/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/dropdown-menu/index.js b/dist/dropdown-menu/index.js index 302659a1..4b71fe15 100644 --- a/dist/dropdown-menu/index.js +++ b/dist/dropdown-menu/index.js @@ -19,7 +19,7 @@ VantComponent({ childIndex: this.children.length }); this.children.push(target); - // 收集 dorpdown-item 的 data 挂在 data 上 + // 收集 dropdown-item 的 data 挂在 data 上 target && this.setData({ itemListData: this.data.itemListData.concat([target.data])