@tarojs/router 4.0.0-alpha.30 → 4.0.0-alpha.31
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/index.cjs.js +4 -2
- package/dist/index.esm.js +4 -2
- package/dist/index.js +4 -2
- package/package.json +8 -8
package/dist/index.cjs.js
CHANGED
|
@@ -1707,7 +1707,8 @@ function handleAppMount(config, _, appId = config.appId || 'app') {
|
|
|
1707
1707
|
app.id = appId;
|
|
1708
1708
|
isPosition = false;
|
|
1709
1709
|
}
|
|
1710
|
-
const appWrapper = (app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body;
|
|
1710
|
+
const appWrapper = ((app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body);
|
|
1711
|
+
appWrapper.classList.add('taro-app-wrap');
|
|
1711
1712
|
app.classList.add('taro_router');
|
|
1712
1713
|
if (!isPosition)
|
|
1713
1714
|
appWrapper.appendChild(app);
|
|
@@ -1721,7 +1722,8 @@ function handleAppMountWithTabbar(config, history, appId = config.appId || 'app'
|
|
|
1721
1722
|
app.id = appId;
|
|
1722
1723
|
isPosition = false;
|
|
1723
1724
|
}
|
|
1724
|
-
const appWrapper = (app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body;
|
|
1725
|
+
const appWrapper = ((app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body);
|
|
1726
|
+
appWrapper.classList.add('taro-app-wrap');
|
|
1725
1727
|
app.classList.add('taro_router');
|
|
1726
1728
|
const container = document.createElement('div');
|
|
1727
1729
|
container.classList.add('taro-tabbar__container');
|
package/dist/index.esm.js
CHANGED
|
@@ -1706,7 +1706,8 @@ function handleAppMount(config, _, appId = config.appId || 'app') {
|
|
|
1706
1706
|
app.id = appId;
|
|
1707
1707
|
isPosition = false;
|
|
1708
1708
|
}
|
|
1709
|
-
const appWrapper = (app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body;
|
|
1709
|
+
const appWrapper = ((app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body);
|
|
1710
|
+
appWrapper.classList.add('taro-app-wrap');
|
|
1710
1711
|
app.classList.add('taro_router');
|
|
1711
1712
|
if (!isPosition)
|
|
1712
1713
|
appWrapper.appendChild(app);
|
|
@@ -1720,7 +1721,8 @@ function handleAppMountWithTabbar(config, history, appId = config.appId || 'app'
|
|
|
1720
1721
|
app.id = appId;
|
|
1721
1722
|
isPosition = false;
|
|
1722
1723
|
}
|
|
1723
|
-
const appWrapper = (app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body;
|
|
1724
|
+
const appWrapper = ((app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body);
|
|
1725
|
+
appWrapper.classList.add('taro-app-wrap');
|
|
1724
1726
|
app.classList.add('taro_router');
|
|
1725
1727
|
const container = document.createElement('div');
|
|
1726
1728
|
container.classList.add('taro-tabbar__container');
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,8 @@ function handleAppMount(config, _, appId = config.appId || 'app') {
|
|
|
16
16
|
app.id = appId;
|
|
17
17
|
isPosition = false;
|
|
18
18
|
}
|
|
19
|
-
const appWrapper = (app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body;
|
|
19
|
+
const appWrapper = ((app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body);
|
|
20
|
+
appWrapper.classList.add('taro-app-wrap');
|
|
20
21
|
app.classList.add('taro_router');
|
|
21
22
|
if (!isPosition)
|
|
22
23
|
appWrapper.appendChild(app);
|
|
@@ -30,7 +31,8 @@ function handleAppMountWithTabbar(config, history, appId = config.appId || 'app'
|
|
|
30
31
|
app.id = appId;
|
|
31
32
|
isPosition = false;
|
|
32
33
|
}
|
|
33
|
-
const appWrapper = (app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body;
|
|
34
|
+
const appWrapper = ((app === null || app === void 0 ? void 0 : app.parentNode) || (app === null || app === void 0 ? void 0 : app.parentElement) || document.body);
|
|
35
|
+
appWrapper.classList.add('taro-app-wrap');
|
|
34
36
|
app.classList.add('taro_router');
|
|
35
37
|
const container = document.createElement('div');
|
|
36
38
|
container.classList.add('taro-tabbar__container');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/router",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.31",
|
|
4
4
|
"description": "Taro-router",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"universal-router": "^9.2.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@tarojs/components": "4.0.0-alpha.
|
|
38
|
-
"@tarojs/runtime": "4.0.0-alpha.
|
|
39
|
-
"@tarojs/
|
|
40
|
-
"@tarojs/
|
|
37
|
+
"@tarojs/components": "4.0.0-alpha.31",
|
|
38
|
+
"@tarojs/runtime": "4.0.0-alpha.31",
|
|
39
|
+
"@tarojs/shared": "4.0.0-alpha.31",
|
|
40
|
+
"@tarojs/taro": "4.0.0-alpha.31"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@tarojs/runtime": "4.0.0-alpha.
|
|
44
|
-
"@tarojs/
|
|
45
|
-
"@tarojs/
|
|
43
|
+
"@tarojs/runtime": "4.0.0-alpha.31",
|
|
44
|
+
"@tarojs/shared": "4.0.0-alpha.31",
|
|
45
|
+
"@tarojs/taro": "4.0.0-alpha.31"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"prod": "pnpm run build",
|