@dcloudio/uni-mp-vue 3.0.0-alpha-3030720220111001 → 3.0.0-alpha-3030820220114001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.runtime.esm.js +6 -4
- package/package.json +2 -2
package/dist/vue.runtime.esm.js
CHANGED
|
@@ -3520,9 +3520,11 @@ function getExposeProxy(instance) {
|
|
|
3520
3520
|
if (key in target) {
|
|
3521
3521
|
return target[key];
|
|
3522
3522
|
}
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3523
|
+
// fixed by xxxxxx 框架内部需要访问很多非 public 属性,暂不做限制
|
|
3524
|
+
return instance.proxy[key];
|
|
3525
|
+
// else if (key in publicPropertiesMap) {
|
|
3526
|
+
// return publicPropertiesMap[key](instance)
|
|
3527
|
+
// }
|
|
3526
3528
|
}
|
|
3527
3529
|
})));
|
|
3528
3530
|
}
|
|
@@ -4812,7 +4814,7 @@ function mountComponent(initialVNode, options) {
|
|
|
4812
4814
|
if (__VUE_OPTIONS_API__) {
|
|
4813
4815
|
// $children
|
|
4814
4816
|
if (options.parentComponent && instance.proxy) {
|
|
4815
|
-
options.parentComponent.ctx.$children.push(instance.proxy);
|
|
4817
|
+
options.parentComponent.ctx.$children.push(getExposeProxy(instance) || instance.proxy);
|
|
4816
4818
|
}
|
|
4817
4819
|
}
|
|
4818
4820
|
setupRenderEffect(instance);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-mp-vue",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3030820220114001",
|
|
4
4
|
"description": "@dcloudio/uni-mp-vue",
|
|
5
5
|
"main": "dist/vue.runtime.esm.js",
|
|
6
6
|
"module": "dist/vue.runtime.esm.js",
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
},
|
|
20
20
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
22
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-3030820220114001"
|
|
23
23
|
}
|
|
24
24
|
}
|