Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
中汽测评-信息安全测评系统
web
Commits
5956e10e
Commit
5956e10e
authored
Feb 02, 2024
by
mzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件上传公共样式修改
parent
20f11a7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
6 deletions
+16
-6
index.vue
src/components/FileUpload/index.vue
+16
-6
No files found.
src/components/FileUpload/index.vue
View file @
5956e10e
...
...
@@ -17,15 +17,25 @@
<!-- 上传按钮 -->
<el-button
size=
"mini"
type=
"primary"
>
选取文件
</el-button>
<!-- 上传提示 -->
<!--
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
-->
<!-- 请上传-->
<!--
<template
v-if=
"fileSize"
>
-->
<!-- 大小不超过
<b
style=
"color: #f56c6c"
>
{{
fileSize
}}
MB
</b>
-->
<!--
</
template
>
-->
<!-- <template v-if="fileType">-->
<!-- 格式为 <b style="color: #f56c6c">{{ fileType.join('/') }}</b>-->
<!-- </template>-->
<!-- 的文件-->
<!-- </div>-->
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
请上传
<template
v-if=
"fileSize"
>
大小不超过
<b
style=
"color: #f56c6c"
>
{{
fileSize
}}
MB
</b>
</
template
>
只能上传
<
template
v-if=
"fileType"
>
格式为
<b
style=
"color: #f56c6c"
>
{{
fileType
.
join
(
'/'
)
}}
</b>
{{
fileType
.
join
(
'/'
)
}}
</
template
>
文件,
<
template
v-if=
"fileSize"
>
且不得超过
{{
fileSize
}}
MB
</
template
>
的文件
</div>
</el-upload>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment