提交 4a9afb86 编写于 作者: D DCloud_LXH

chore(h5): systemInfo host

上级 3cd8fec1
......@@ -53,7 +53,7 @@ export const getAppBaseInfo = defineSyncApi<typeof uni.getAppBaseInfo>(
'getAppBaseInfo',
() => {
initBrowserInfo()
const { theme, language } = browserInfo
const { theme, language, browserName, browserVersion } = browserInfo
return {
appId: __uniConfig.appId,
......@@ -65,10 +65,10 @@ export const getAppBaseInfo = defineSyncApi<typeof uni.getAppBaseInfo>(
hostSDKVersion: undefined,
hostPackageName: undefined,
hostFontSizeSetting: undefined,
hostName: undefined,
hostVersion: undefined,
hostTheme: undefined,
hostLanguage: undefined,
hostName: browserName,
hostVersion: browserVersion,
hostTheme: theme,
hostLanguage: language,
language,
SDKVersion: '',
theme,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册