Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ai-yunshou-vue
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云守
ai-yunshou-vue
Commits
74db2f5f
Commit
74db2f5f
authored
Sep 06, 2024
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复我的算法编辑功能
parent
366ef055
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/views/algorithmList/index.vue
src/views/algorithmList/index.vue
+5
-3
No files found.
src/views/algorithmList/index.vue
View file @
74db2f5f
...
@@ -78,6 +78,7 @@
...
@@ -78,6 +78,7 @@
type=
"primary"
type=
"primary"
plain
plain
@
click=
"handState('2')"
@
click=
"handState('2')"
v-if=
"!listState"
>
已下载
</el-button>
>
已下载
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
...
@@ -85,6 +86,7 @@
...
@@ -85,6 +86,7 @@
type=
"primary"
type=
"primary"
plain
plain
@
click=
"handState('3')"
@
click=
"handState('3')"
v-if=
"!listState"
>
已删除
</el-button>
>
已删除
</el-button>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -252,11 +254,11 @@
...
@@ -252,11 +254,11 @@
function
handleEnable
(
row
){
function
handleEnable
(
row
){
const
params
=
{
const
params
=
{
algorithmStatus
:
row
.
algorithmStatus
==
'
1
'
?
"
0
"
:
"
1
"
,
algorithmStatus
:
row
.
algorithmStatus
==
'
1
'
?
"
0
"
:
"
1
"
,
id
:
row
.
i
d
id
:
row
.
userAlgorithmI
d
}
}
updateAlgState
(
params
).
then
((
res
)
=>
{
update
My
AlgState
(
params
).
then
((
res
)
=>
{
console
.
log
(
"
🚀 ~ updateAlgState ~ res:
"
,
res
)
console
.
log
(
"
🚀 ~ updateAlgState ~ res:
"
,
res
)
getList
()
get
My
List
()
})
})
}
}
...
...
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