提交 c7b309a6 编写于 作者: D DCloud_LXH 提交者: qiang

chore(h5): systemInfo host

上级 d9ada15e
...@@ -40,7 +40,7 @@ export function getDeviceInfo () { ...@@ -40,7 +40,7 @@ export function getDeviceInfo () {
export function getAppBaseInfo () { export function getAppBaseInfo () {
initBrowserInfo() initBrowserInfo()
const { theme, language } = browserInfo const { theme, language, browserName, browserVersion } = browserInfo
const appLanguage = uni const appLanguage = uni
? uni.getLocale ? uni.getLocale
...@@ -58,10 +58,10 @@ export function getAppBaseInfo () { ...@@ -58,10 +58,10 @@ export function getAppBaseInfo () {
hostSDKVersion: undefined, hostSDKVersion: undefined,
hostPackageName: undefined, hostPackageName: undefined,
hostFontSizeSetting: undefined, hostFontSizeSetting: undefined,
hostName: undefined, hostName: browserName,
hostVersion: undefined, hostVersion: browserVersion,
hostTheme: undefined, hostTheme: theme,
hostLanguage: undefined, hostLanguage: language,
language, language,
SDKVersion: '', SDKVersion: '',
theme, theme,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册