支持SSR、升级Vue版本和增加新的icon (#40)

* search component add new style

* update vue version and support ssr

* unit test

* add new icon

* new icon
This commit is contained in:
张敏
2017-06-15 19:46:56 +08:00
committed by Yao
parent 857da3a5ee
commit 0f5972e75e
59 changed files with 370 additions and 204 deletions

View File

@@ -84,11 +84,11 @@ describe('ActionSheet', () => {
});
const actionItem = wrapper.find('.van-actionsheet__item')[0];
actionItem.simulate('click');
actionItem.trigger('click');
expect(called).to.be.true;
const secondActionItem = wrapper.find('.van-actionsheet__item')[1];
secondActionItem.simulate('click');
secondActionItem.trigger('click');
});
it('create actionsheet with cancel button', () => {