Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
81d4b55b
authored
2025-06-05 14:33:01 +0800
by
yzj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
693c269e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/views/legao/course/index.vue
src/views/legao/course/index.vue
View file @
81d4b55
...
...
@@ -275,7 +275,8 @@ function handleDel(row) {
function
submitForm
(
type
)
{
const
data
=
{
...
showForm
.
value
.
form
,
type
:
''
type
:
''
,
packId
:
0
}
if
(
showForm
.
value
.
form
?.
type
===
undefined
||
showForm
.
value
.
form
?.
type
==
''
){
proxy
.
$modal
.
alert
(
'搭建类型不能为空'
);
...
...
@@ -284,6 +285,7 @@ function submitForm(type) {
data
.
type
=
showForm
.
value
.
form
?.
type
.
join
(
'、'
)
// 确保packId被保存
if
(
showForm
.
value
.
form
?.
packId
)
{
console
.
log
(
showForm
.
value
.
form
.
packId
);
data
.
packId
=
showForm
.
value
.
form
.
packId
}
const
fun
=
showForm
.
value
.
form
?.
id
?
editCourse
:
addCourse
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment