提交 8323c9a1 编写于 作者: fxy060608's avatar fxy060608

feat(nvue): globalData

上级 e1bf432a
......@@ -1322,6 +1322,8 @@ var serviceContext = (function () {
appCtx = appVm;
appCtx.globalData = appVm.$options.globalData || {};
initOn(UniServiceJSBridge.on, {
getApp,
getCurrentPages: getCurrentPages$1
......
......@@ -113,6 +113,8 @@ export function registerApp (appVm) {
appCtx = appVm
appCtx.globalData = appVm.$options.globalData || {}
initOn(UniServiceJSBridge.on, {
getApp,
getCurrentPages
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册