From 2e02c959ace10f81d8f3f444e14ae621aba23ab7 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Wed, 10 Jul 2019 18:03:02 +0800 Subject: [PATCH] fix(h5): onLaunch,onShow --- src/core/service/plugins/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/service/plugins/util.js b/src/core/service/plugins/util.js index f4df38b73..ed93c3baf 100644 --- a/src/core/service/plugins/util.js +++ b/src/core/service/plugins/util.js @@ -6,7 +6,7 @@ export function callAppHook (vm, hook, params) { if (hook !== 'onError') { 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) { -- GitLab