fix(SwipeCell): compatible with desktop scenario (#5077)
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user