Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
王士厅
2024-08-21 16:05:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bafd92540b36705fbb45d99c2fdff9a2b055f1e8
bafd9254
1 parent
2582df27
fix: wdComponent 下apph5 remjs 修改OpenHarmony为ArkWeb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/resources/rawfile/apph5/js/plugin/rem.js
sight_harmony/features/wdComponent/src/main/resources/rawfile/apph5/js/plugin/rem.js
View file @
bafd925
...
...
@@ -11,7 +11,7 @@ function judgTerminal() {
const
isXiaomi
=
u
.
indexOf
(
'XiaoMi'
)
>
-
1
// 小米手机
const
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
// 其它安卓
const
isIOS
=
!!
u
.
match
(
/
\(
i
[^
;
]
+;
(
U;
)?
CPU.+Mac OS X/
)
// ios
const
isHarmony
=
u
.
indexOf
(
'
OpenHarmony
'
)
>
-
1
const
isHarmony
=
u
.
indexOf
(
'
ArkWeb
'
)
>
-
1
if
(
isAndroid
)
{
return
1
}
else
if
(
isIOS
)
{
...
...
Please
register
or
login
to post a comment