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
8070e2eb
authored
2025-06-05 12:12:43 +0800
by
yzj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
是否打包
1 parent
59d2a386
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
src/views/legao/course/index.vue
src/views/legao/course/index.vue
View file @
8070e2e
...
...
@@ -85,12 +85,10 @@
<el-form-item
:label=
"$t('course.dialogPack')"
label-width=
"80"
>
<el-select-v2
v-model=
"showForm.form.packId"
:options=
"ispack"
placeholder=
"是否打包"
style=
"width: 180px;"
>
<el-option
label=
"是"
:value=
"1"
></el-option>
<el-option
label=
"否"
:value=
"0"
></el-option>
</el-select-v2>
/>
</el-form-item>
<el-form-item
:label=
"$t('course.dialogTypes')"
prop=
"type"
label-width=
"80"
>
<el-checkbox-group
v-model=
"showForm.form.type"
>
...
...
@@ -174,11 +172,15 @@ const data = reactive({
total
:
0
,
list
:
[],
blockLists
:
[],
ispack
:
[
{
id
:
1
,
name
:
'是'
},
{
id
:
0
,
name
:
'否'
}
],
showForm
:
{
title
:
''
,
open
:
false
,
form
:
{
packId
:
0
// 设置默认值为0(即“否”)
}
},
rules
:
{
...
...
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