fix(SwipeCell): compatible with desktop scenario (#5077)

This commit is contained in:
neverland
2019-11-22 10:32:17 +08:00
committed by GitHub
parent aba9e3f009
commit b889ab09e8
4 changed files with 18 additions and 22 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ it('on-close prop', () => {
wrapper.trigger('click');
expect(position).toEqual(undefined);
wrapper.setData({ offset: 100 });
wrapper.vm.open('left');
wrapper.trigger('click');
expect(position).toEqual('cell');