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
9d241f58
Commit
9d241f58
authored
Dec 17, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了Ai工作站的一键启停下拉框无限增加bug
parent
ca4dc500
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
OnekeyStartStopPage.vue
src/views/RemotePage/OnekeyStartStopPage.vue
+3
-2
No files found.
src/views/RemotePage/OnekeyStartStopPage.vue
View file @
9d241f58
...
@@ -112,7 +112,7 @@ const saveActiveStep = ref(-1);
...
@@ -112,7 +112,7 @@ const saveActiveStep = ref(-1);
const
saveStopStep
=
ref
(
-
1
);
const
saveStopStep
=
ref
(
-
1
);
const
activeCloseStep
=
ref
(
-
1
);
const
activeCloseStep
=
ref
(
-
1
);
const
clientHeight
=
ref
(
"500px"
);
const
clientHeight
=
ref
(
"500px"
);
cons
t
options
=
reactive
([]);
le
t
options
=
reactive
([]);
const
transferId
=
ref
(
null
);
const
transferId
=
ref
(
null
);
const
stationId
=
ref
(
null
);
const
stationId
=
ref
(
null
);
const
limit
=
ref
(
0
);
const
limit
=
ref
(
0
);
...
@@ -388,7 +388,6 @@ function getSupplys() {
...
@@ -388,7 +388,6 @@ function getSupplys() {
});
});
options
.
push
({
children
:
c
,
label
:
center
.
serviceCenterName
});
options
.
push
({
children
:
c
,
label
:
center
.
serviceCenterName
});
})
})
}
else
{
}
else
{
element
.
supplyList
.
forEach
(
element
=>
{
element
.
supplyList
.
forEach
(
element
=>
{
let
chi
=
[];
let
chi
=
[];
...
@@ -1162,6 +1161,8 @@ watch(
...
@@ -1162,6 +1161,8 @@ watch(
async
()
=>
{
async
()
=>
{
if
(
route
.
path
===
'/Remote/OnekeyStartStop'
)
{
if
(
route
.
path
===
'/Remote/OnekeyStartStop'
)
{
await
store
.
dispatch
(
"getOrg"
);
await
store
.
dispatch
(
"getOrg"
);
//离开当前页面,将options里的数据清空,否则每次回到这个页面都会往里面继续添加一次
options
=
[]
await
getSupplys
();
await
getSupplys
();
scheduledTasks
()
scheduledTasks
()
}
else
{
}
else
{
...
...
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