We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d49fb9 commit 4884364Copy full SHA for 4884364
src/platforms/mp/runtime/events.js
@@ -81,12 +81,14 @@ function getWebEventByMP (e) {
81
return event
82
}
83
84
+
85
+const KEY_SEP = '_'
86
export function handleProxyWithVue (e) {
87
const rootVueVM = this.$root
88
const { type, target = {}, currentTarget } = e
89
const { dataset = {} } = currentTarget || target
90
const { comkey = '', eventid } = dataset
- const vm = getVM(rootVueVM, comkey.split(','))
91
+ const vm = getVM(rootVueVM, comkey.split(KEY_SEP))
92
93
if (!vm) {
94
return
0 commit comments