@dcloudio/uni-mp-toutiao 3.0.0-alpha-4020620240822001 → 3.0.0-alpha-4020720240904001
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/uni.mp.esm.js +8 -1
- package/package.json +6 -6
package/dist/uni.mp.esm.js
CHANGED
|
@@ -1043,6 +1043,7 @@ function initRelation(mpInstance, detail) {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
1045
|
function handleLink({ detail: { vuePid, nodeId, webviewId }, }) {
|
|
1046
|
+
var _a, _b, _c;
|
|
1046
1047
|
const vm = instances[webviewId + '_' + nodeId];
|
|
1047
1048
|
if (!vm) {
|
|
1048
1049
|
return;
|
|
@@ -1054,7 +1055,13 @@ function handleLink({ detail: { vuePid, nodeId, webviewId }, }) {
|
|
|
1054
1055
|
if (!parentVm) {
|
|
1055
1056
|
parentVm = this.$vm;
|
|
1056
1057
|
}
|
|
1057
|
-
|
|
1058
|
+
if ((_c = (_b = (_a = this.$vm) === null || _a === void 0 ? void 0 : _a.$options) === null || _b === void 0 ? void 0 : _b.options) === null || _c === void 0 ? void 0 : _c.virtualHost) {
|
|
1059
|
+
// 抖音小程序下 form 组件开启 virtualHost 出现 infinite loop. see: https://github.com/vuejs/core/blob/32a1433e0debd538c199bde18390bb903b4cde5a/packages/runtime-core/src/componentProps.ts#L227
|
|
1060
|
+
vm.$.parent = null;
|
|
1061
|
+
}
|
|
1062
|
+
else {
|
|
1063
|
+
vm.$.parent = parentVm.$;
|
|
1064
|
+
}
|
|
1058
1065
|
if (__VUE_OPTIONS_API__) {
|
|
1059
1066
|
parentVm.$children.push(vm);
|
|
1060
1067
|
const parent = parentVm.$;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-mp-toutiao",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-4020720240904001",
|
|
4
4
|
"description": "uni-app mp-toutiao",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-
|
|
30
|
-
"@dcloudio/uni-mp-vite": "3.0.0-alpha-
|
|
31
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
32
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
28
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-4020720240904001",
|
|
29
|
+
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-4020720240904001",
|
|
30
|
+
"@dcloudio/uni-mp-vite": "3.0.0-alpha-4020720240904001",
|
|
31
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-4020720240904001",
|
|
32
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-4020720240904001",
|
|
33
33
|
"@vue/shared": "3.4.21",
|
|
34
34
|
"@vue/compiler-core": "3.4.21"
|
|
35
35
|
}
|