Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RuoYi-Vue-ui
Project
Project
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
AI算法平台
RuoYi-Vue-ui
Commits
c2efb733
Commit
c2efb733
authored
Mar 05, 2024
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复算法场景修改保存报错问题
parent
901ce925
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/views/algorithm/piece/index.vue
src/views/algorithm/piece/index.vue
+3
-3
src/views/algorithm/scene/index.vue
src/views/algorithm/scene/index.vue
+1
-1
No files found.
src/views/algorithm/piece/index.vue
View file @
c2efb733
...
...
@@ -369,13 +369,13 @@ export default {
handleAlgUpdate
(
row
)
{
row
.
isEdit
=
true
},
handleAlgSave
(
row
)
{
handleAlgSave
(
row
)
{
row
.
isEdit
=
false
},
handleAlgDelete
(
index
,
row
)
{
handleAlgDelete
(
index
,
row
)
{
this
.
form
.
variables
.
splice
(
index
,
1
)
},
algAdd
(){
algAdd
(){
this
.
form
.
variables
.
push
({
variableKey
:
''
,
variableType
:
''
,
...
...
src/views/algorithm/scene/index.vue
View file @
c2efb733
...
...
@@ -378,7 +378,7 @@
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
response
.
data
))
arr
=
response
.
data
.
pieceDtos
this
.
form
.
pieceDtos
=
[]
// this.form.alarmTypes=this.form.alarmTypes.split(',')
this
.
form
.
alarmTypes
=
[]
this
.
form
.
cameraIdList
=
this
.
form
.
cameraIdList
.
split
(
'
,
'
)
this
.
form
.
cameraIdList
=
this
.
changeArr
(
this
.
form
.
cameraIdList
)
arr
.
forEach
(
item
=>
{
...
...
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