Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2022-12-30 12:59:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c2e14a5e61159ede64f46687148f89308b570c07
c2e14a5e
1 parent
c2729a91
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
src/components/FileUploaderField/index.vue
src/components/FileUploaderField/index.vue
View file @
c2e14a5
<!--
* @Date: 2022-08-31 16:16:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-30 12:
46:21
* @LastEditTime: 2022-12-30 12:
58:48
* @FilePath: /data-table/src/components/FileUploaderField/index.vue
* @Description: 文件上传控件
-->
...
...
@@ -19,15 +19,15 @@
</div>
<div>
<p
v-for="
file
in fileList"
v-for="
(file, index)
in fileList"
:key="index"
style="padding-left: 1rem; margin-bottom: 0.5rem"
>
<
span style="font-size: 1rem">{{ file.filename }} {{ (file.size / 1024 / 1024).toFixed(2) }}MB</span
>
<span style="color: #e32525; font-size: 0.85rem" @click="beforeDelete(file)"
>移除</span
>
<
p style="font-size: 1rem; word-break: break-all; margin-right: 0.75rem;">
<span>{{ index + 1 }}. {{ file.filename }} {{ (file.size / 1024 / 1024).toFixed(2) }}MB</span>
<span style="color: #e32525; font-size: 0.85rem" @click="beforeDelete(file)">移除</span>
</p
>
</p>
</div>
<div style="padding: 1rem">
...
...
Please
register
or
login
to post a comment