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
edc06d89
authored
2025-03-09 14:43:14 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
6b639f3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
src/views/legao/course/index.vue
src/views/legao/course/index.vue
View file @
edc06d8
...
...
@@ -286,16 +286,19 @@ function submitForm(type) {
...
showForm
.
value
.
form
,
type
:
''
}
if
(
showForm
.
value
.
form
?.
type
!==
undefined
){
if
(
showForm
.
value
.
form
?.
type
===
undefined
){
proxy
.
$modal
.
alert
(
'搭建类型不能为空'
);
}
else
{
data
.
type
=
showForm
.
value
.
form
?.
type
.
join
(
'、'
)
const
fun
=
showForm
.
value
.
form
?.
id
?
editCourse
:
addCourse
fun
(
data
).
then
(
res
=>
{
// console.log(res);
proxy
.
$modal
.
msgSuccess
(
res
.
msg
);
getList
()
showForm
.
value
.
open
=
false
})
}
const
fun
=
showForm
.
value
.
form
?.
id
?
editCourse
:
addCourse
fun
(
data
).
then
(
res
=>
{
// console.log(res);
proxy
.
$modal
.
msgSuccess
(
res
.
msg
);
getList
()
showForm
.
value
.
open
=
false
})
}
function
closeDialog
()
{
...
...
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