Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
海康威视
web-project
Commits
03b60a3a
Commit
03b60a3a
authored
Oct 11, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一键启停模块bug修改
parent
8d265622
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
OnekeyStartStopPage.vue
src/views/RemotePage/OnekeyStartStopPage.vue
+2
-2
No files found.
src/views/RemotePage/OnekeyStartStopPage.vue
View file @
03b60a3a
...
@@ -871,9 +871,9 @@ function getSteps() {
...
@@ -871,9 +871,9 @@ function getSteps() {
}
}
// 一键启动
// 一键启动
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
const
item
=
res
.
data
.
find
(
item
=>
(
item
.
runStart
===
true
&&
item
.
stopStart
===
false
)
||
(
item
.
runStart
===
false
&&
item
.
stopStart
===
true
))
const
item
=
res
.
data
.
find
(
item
=>
(
item
.
runStart
===
true
&&
item
.
stopStart
===
false
)
||
(
item
.
runStart
===
false
&&
item
.
stopStart
===
true
)
||
(
item
.
runStart
===
false
&&
item
.
stopStart
===
false
)
)
console
.
log
(
'item'
,
item
)
console
.
log
(
'item'
,
item
)
if
(
item
)
{
if
(
item
&&
!
(
item
.
runStart
===
false
&&
item
.
stopStart
===
false
)
)
{
isLoading
.
value
=
true
isLoading
.
value
=
true
}
else
{
}
else
{
isLoading
.
value
=
false
isLoading
.
value
=
false
...
...
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