Skip to content

Commit 9fb9bb6

Browse files
committed
update:code format
1 parent a2f29e6 commit 9fb9bb6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/platforms/mp/runtime/events.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function getHandle (vnode, eventid, eventTypes = []) {
6060
}
6161

6262
function getWebEventByMP (e) {
63-
const { type, timeStamp, touches, detail = {}, target = {}, currentTarget = {}} = e
63+
const { type, timeStamp, touches, detail = {}, target = {}, currentTarget = {} } = e
6464
const { x, y } = detail
6565
const event = {
6666
mp: e,
@@ -84,7 +84,7 @@ function getWebEventByMP (e) {
8484
export function handleProxyWithVue (e) {
8585
const rootVueVM = this.$root
8686
const { type, target = {}, currentTarget } = e
87-
const { dataset = {}} = currentTarget || target
87+
const { dataset = {} } = currentTarget || target
8888
const { comkey = '', eventid } = dataset
8989
const vm = getVM(rootVueVM, comkey.split(','))
9090

src/platforms/mp/runtime/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
getTagNamespace,
1212
isUnknownElement
1313
} from 'mp/util/index'
14-
1514
import { patch } from './patch'
1615

1716
// install platform specific utils

0 commit comments

Comments
 (0)