提交 f7b77309 编写于 作者: D DCloud_LXH

fix(h5): getSystemInfo中iPad中返回的osname,iPadOS -> iOS

上级 75c2ee02
......@@ -87,8 +87,8 @@ export function getSystemInfoSync () {
}
} else if (isIPadOS) {
model = 'iPad'
osname = 'iPadOS'
osversion = typeof window.BigInt === 'function' ? '14' : '13'
osname = 'iOS'
osversion = typeof window.BigInt === 'function' ? '14.0' : '13.0'
} else if (isWindows || isMac || isLinux) {
model = 'PC'
const osversionFind = ua.match(/\((.+?)\)/)[1]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册