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

Merge branch 'dev' of https://github.com/dcloudio/uni-app into alpha

......@@ -1166,7 +1166,9 @@ function parseBaseApp (vm, {
app: this
};
this.$vm.$scope = this;
this.$vm.$scope = this;
// vm 上也挂载 globalData
this.$vm.globalData = this.globalData;
this.$vm._isMounted = true;
this.$vm.__call_hook('mounted', args);
......
......@@ -1558,7 +1558,9 @@ function parseBaseApp (vm, {
app: this
};
this.$vm.$scope = this;
this.$vm.$scope = this;
// vm 上也挂载 globalData
this.$vm.globalData = this.globalData;
this.$vm._isMounted = true;
this.$vm.__call_hook('mounted', args);
......
......@@ -1303,7 +1303,9 @@ function parseBaseApp (vm, {
app: this
};
this.$vm.$scope = this;
this.$vm.$scope = this;
// vm 上也挂载 globalData
this.$vm.globalData = this.globalData;
this.$vm._isMounted = true;
this.$vm.__call_hook('mounted', args);
......
......@@ -1221,7 +1221,9 @@ function parseBaseApp (vm, {
app: this
};
this.$vm.$scope = this;
this.$vm.$scope = this;
// vm 上也挂载 globalData
this.$vm.globalData = this.globalData;
this.$vm._isMounted = true;
this.$vm.__call_hook('mounted', args);
......
......@@ -1313,7 +1313,9 @@ function parseBaseApp (vm, {
app: this
};
this.$vm.$scope = this;
this.$vm.$scope = this;
// vm 上也挂载 globalData
this.$vm.globalData = this.globalData;
this.$vm._isMounted = true;
this.$vm.__call_hook('mounted', args);
......
......@@ -1166,7 +1166,9 @@ function parseBaseApp (vm, {
app: this
};
this.$vm.$scope = this;
this.$vm.$scope = this;
// vm 上也挂载 globalData
this.$vm.globalData = this.globalData;
this.$vm._isMounted = true;
this.$vm.__call_hook('mounted', args);
......
......@@ -64,7 +64,9 @@ export default function parseBaseApp (vm, {
app: this
}
this.$vm.$scope = this
this.$vm.$scope = this
// vm 上也挂载 globalData
this.$vm.globalData = this.globalData
this.$vm._isMounted = true
this.$vm.__call_hook('mounted', args)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册