Commit a748e89c by 前端

Merge branch 'hotfix_SAAS+V5.7.3' into 'master'

上线合并

See merge request !32
2 parents b44b43dc 6e81e121
......@@ -233,7 +233,7 @@ const toUnicode = (chineseStr = '') => {
const isMobileDevice = () => {
//判断当前设备是否为移动端
const ua = navigator.userAgent.toLowerCase()
const t1 = /android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(ua)
const t1 = /android|webos|iphone|ipad|ipod|blackberry|iemobile|OpenHarmony|Harmony|opera mini/i.test(ua)
const t2 = !ua.match('iphone') && navigator.maxTouchPoints > 1
return t1 || t2
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!