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
24e4c535
authored
2025-06-09 18:24:17 +0800
by
yzj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
3e77a66b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
src/components/ImageUpload/index.vue
src/lang/package/zh-cn.js
src/views/legao/advertisement/index.vue
src/components/ImageUpload/index.vue
View file @
24e4c53
...
...
@@ -59,7 +59,7 @@ const props = defineProps({
// 大小限制(MB)
fileSize
:
{
type
:
Number
,
default
:
5
,
default
:
5
0
,
},
// 文件类型, 例如['png', 'jpg', 'jpeg']
fileType
:
{
...
...
src/lang/package/zh-cn.js
View file @
24e4c53
...
...
@@ -97,9 +97,9 @@ export default {
dialogTypes
:
'搭建类型'
,
dialogTwoD
:
'2D'
,
dialogThreeD
:
'3D'
,
dialogCase
:
'
案例
'
,
dialogCase
:
'
视频
'
,
dialogTeaching
:
'教案'
,
dialogPpt
:
'
PPT
'
,
dialogPpt
:
'
课程
'
,
dialogPhoto
:
'课程图片'
,
dialogConfim
:
'确认'
,
dialogExit
:
'退出'
,
...
...
src/views/legao/advertisement/index.vue
View file @
24e4c53
...
...
@@ -100,7 +100,7 @@
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('advertisement.tablePhotoName')"
label-width=
"80"
>
<imageUpload
v-model=
"showForm.form.ossId"
:limit=
'1'
:fileType=
'["png", "jpg", "jpeg", "ico"]'
/>
<imageUpload
v-model=
"showForm.form.ossId"
:limit=
'1'
:fileType=
'["png", "jpg", "jpeg", "ico"
,"mp4"
]'
/>
</el-form-item>
<el-form-item
:label=
"$t('advertisement.tableSortName')"
label-width=
"80"
>
<el-input-number
v-model=
"showForm.form.sort"
controls-position=
"right"
:min=
"0"
/>
...
...
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