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
3e77a66b
authored
2025-06-06 19:44:02 +0800
by
yzj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
限制ppt,只支持pdf
1 parent
016051c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/legao/course/index.vue
src/views/legao/course/index.vue
View file @
3e77a66
...
...
@@ -140,7 +140,7 @@
<fileUpload
v-model=
"showForm.form.teachingOssId"
:fileType=
'["pdf","mp4"]'
/>
</el-form-item>
<el-form-item
:label=
"$t('course.dialogPpt')"
label-width=
"80"
>
<fileUpload
v-model=
"showForm.form.pptOssId"
:fileType=
'["pdf","
ppt","pptx","
mp4"]'
/>
<fileUpload
v-model=
"showForm.form.pptOssId"
:fileType=
'["pdf","mp4"]'
/>
</el-form-item>
<el-form-item
:label=
"$t('course.dialogPhoto')"
prop=
"ossId"
label-width=
"80"
>
<imageUpload
v-model=
"showForm.form.ossId"
:limit=
'1'
:fileType=
'["png", "jpg", "jpeg", "ico"]'
/>
...
...
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