[Improvement] Search: update style (#1603)

This commit is contained in:
neverland
2018-08-07 14:03:30 +08:00
committed by GitHub
parent 1f67c28998
commit cdc93188ca
8 changed files with 40 additions and 66 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ test('cancel search', () => {
}
});
const cancel = wrapper.find('.van-search__cancel');
const cancel = wrapper.find('.van-search__action div');
cancel.trigger('click');
expect(wrapper.emitted('input')[0][0]).toEqual('');
expect(wrapper.emitted('cancel')).toBeTruthy();