提交 2e02c959 编写于 作者: fxy060608's avatar fxy060608

fix(h5): onLaunch,onShow

上级 9847a1e6
...@@ -6,7 +6,7 @@ export function callAppHook (vm, hook, params) { ...@@ -6,7 +6,7 @@ export function callAppHook (vm, hook, params) {
if (hook !== 'onError') { if (hook !== 'onError') {
console.debug(`App:${hook} have been invoked` + (params ? ` ${JSON.stringify(params)}` : '')) console.debug(`App:${hook} have been invoked` + (params ? ` ${JSON.stringify(params)}` : ''))
} }
return callHook(vm, hook, params) return vm.__call_hook(hook, params)
} }
export function callPageHook (vm, hook, params) { export function callPageHook (vm, hook, params) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册