Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re860_factory
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
waterword
re860_factory
Commits
df1fb3b8
Commit
df1fb3b8
authored
Jul 13, 2025
by
lyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(factoryTest): 修改字体路径判断逻辑为基于系统平台
parent
d46432b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
factoryTestItem/factoryTestWifi.evue
factoryTestItem/factoryTestWifi.evue
+2
-1
factoryTestItem/factory_testList.evue
factoryTestItem/factory_testList.evue
+2
-1
No files found.
factoryTestItem/factoryTestWifi.evue
View file @
df1fb3b8
...
@@ -1233,7 +1233,8 @@
...
@@ -1233,7 +1233,8 @@
this
.
setPickPara
(
"
setTimePicker12Minute
"
,
40
,
26
);
this
.
setPickPara
(
"
setTimePicker12Minute
"
,
40
,
26
);
this
.
setPickPara
(
"
setTimePickerAMPM
"
,
40
,
26
);
this
.
setPickPara
(
"
setTimePickerAMPM
"
,
40
,
26
);
if
(
userData
.
factoryFlag
==
0
)
{
var
process
=
require
(
"
@system.process
"
)
if
(
process
.
platform
==
"
win32
"
)
{
globalThat
.
$FontPath
=
"
./../re860a-v1.0/GothamMedium.ttf
"
;
globalThat
.
$FontPath
=
"
./../re860a-v1.0/GothamMedium.ttf
"
;
}
else
{
}
else
{
globalThat
.
$FontPath
=
"
./../RE860A/GothamMedium.ttf
"
;
globalThat
.
$FontPath
=
"
./../RE860A/GothamMedium.ttf
"
;
...
...
factoryTestItem/factory_testList.evue
View file @
df1fb3b8
...
@@ -230,7 +230,8 @@
...
@@ -230,7 +230,8 @@
onShow
:
function
()
{
onShow
:
function
()
{
console
.
log
(
this
.
$uri
+
"
===========onShow=============
"
);
console
.
log
(
this
.
$uri
+
"
===========onShow=============
"
);
if
(
userData
.
factoryFlag
==
0
)
{
var
process
=
require
(
"
@system.process
"
)
if
(
process
.
platform
==
"
win32
"
)
{
globalThat
.
$FontPath
=
"
./../re860a-v1.0/GothamMedium.ttf
"
;
globalThat
.
$FontPath
=
"
./../re860a-v1.0/GothamMedium.ttf
"
;
}
else
{
}
else
{
globalThat
.
$FontPath
=
"
./../RE860A/GothamMedium.ttf
"
;
globalThat
.
$FontPath
=
"
./../RE860A/GothamMedium.ttf
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment