@dcloudio/uni-mp-toutiao 3.0.0-alpha-3040820220424003 → 3.0.0-alpha-3040820220424005
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.api.esm.js +3 -3
- package/package.json +6 -6
package/dist/uni.api.esm.js
CHANGED
|
@@ -881,7 +881,7 @@ function addSafeAreaInsets(fromRes, toRes) {
|
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
883
|
function populateParameters(fromRes, toRes) {
|
|
884
|
-
const { brand, model, system, language, theme, version, hostName, platform } = fromRes;
|
|
884
|
+
const { brand, model, system, language, theme, version, hostName = '', platform, } = fromRes;
|
|
885
885
|
// osName osVersion
|
|
886
886
|
let osName = '';
|
|
887
887
|
let osVersion = '';
|
|
@@ -924,11 +924,11 @@ function populateParameters(fromRes, toRes) {
|
|
|
924
924
|
appVersionCode: process.env.UNI_APP_VERSION_CODE,
|
|
925
925
|
uniCompileVersion: process.env.UNI_COMPILER_VERSION,
|
|
926
926
|
uniRuntimeVersion: process.env.UNI_COMPILER_VERSION,
|
|
927
|
-
uniPlatform: process.env.UNI_PLATFORM,
|
|
927
|
+
uniPlatform: process.env.UNI_SUB_PLATFORM || process.env.UNI_PLATFORM,
|
|
928
928
|
deviceBrand,
|
|
929
929
|
deviceModel: model,
|
|
930
930
|
deviceType,
|
|
931
|
-
osName,
|
|
931
|
+
osName: osName.toLocaleLowerCase(),
|
|
932
932
|
osVersion,
|
|
933
933
|
osLanguage: language,
|
|
934
934
|
osTheme: theme,
|
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-3040820220424005",
|
|
4
4
|
"description": "uni-app mp-toutiao",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
26
|
-
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-
|
|
27
|
-
"@dcloudio/uni-mp-vite": "3.0.0-alpha-
|
|
28
|
-
"@dcloudio/uni-mp-vue": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
25
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3040820220424005",
|
|
26
|
+
"@dcloudio/uni-mp-compiler": "3.0.0-alpha-3040820220424005",
|
|
27
|
+
"@dcloudio/uni-mp-vite": "3.0.0-alpha-3040820220424005",
|
|
28
|
+
"@dcloudio/uni-mp-vue": "3.0.0-alpha-3040820220424005",
|
|
29
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3040820220424005",
|
|
30
30
|
"@vue/shared": "3.2.33",
|
|
31
31
|
"@vue/compiler-core": "3.2.33"
|
|
32
32
|
}
|