[improvement] DropdownMenu: optimize transition

This commit is contained in:
陈嘉涵
2019-05-23 19:56:07 +08:00
parent d7e5ee40b5
commit 9bce0aa31b
4 changed files with 38 additions and 18 deletions

View File

@@ -53,8 +53,9 @@ test('click option', async () => {
titles.at(0).trigger('click');
const options = wrapper.findAll('.van-dropdown-item .van-cell');
options.at(1).trigger('click');
await later();
expect(wrapper).toMatchSnapshot();
});