chore: prettier source code

This commit is contained in:
chenjiahan
2020-04-02 15:36:02 +08:00
parent 340c56b3b5
commit 2fb5cca49a
93 changed files with 272 additions and 283 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ export default createComponent({
},
getClickHandler(position, stop) {
return event => {
return (event) => {
if (stop) {
event.stopPropagation();
}
+1 -1
View File
@@ -115,7 +115,7 @@ test('before-close prop', () => {
expect(wrapper.vm.offset).toEqual(0);
});
test('name prop', done => {
test('name prop', (done) => {
const wrapper = mount(SwipeCell, {
...defaultProps,
propsData: {