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

feat(nvue): globalData

上级 e1bf432a
......@@ -1320,7 +1320,9 @@ var serviceContext = (function () {
console.log(`[uni-app] registerApp`);
}
appCtx = appVm;
appCtx = appVm;
appCtx.globalData = appVm.$options.globalData || {};
initOn(UniServiceJSBridge.on, {
getApp,
......
......@@ -111,7 +111,9 @@ export function registerApp (appVm) {
console.log(`[uni-app] registerApp`)
}
appCtx = appVm
appCtx = appVm
appCtx.globalData = appVm.$options.globalData || {}
initOn(UniServiceJSBridge.on, {
getApp,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册