Skip to content

Commit 62e0fe5

Browse files
hucqanchengjian
authored andcommitted
update: remove useless warnning message
1 parent 16a4fad commit 62e0fe5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/platforms/mp/runtime/events.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,5 @@ export function handleProxyWithVue (e) {
104104
return result
105105
}
106106
handles.forEach(h => h(event))
107-
} else {
108-
// TODO, 在初始化时进行判断或直接使用 vue 本身的错误提示
109-
const { route } = rootVueVM.$mp.page
110-
console.group(new Date() + ' 事件警告')
111-
console.warn(`Do not have handler in current page: ${route}. Please make sure that handler has been defined in ${route}, or not use handler with 'v-if'`)
112-
console.groupEnd()
113107
}
114108
}

0 commit comments

Comments
 (0)