上传同名文件时进度条出错
parent
81fab97ee4
commit
49b723ab01
|
@ -835,6 +835,7 @@ export default {
|
||||||
white-space: nowrap; /* 文本不换行 */
|
white-space: nowrap; /* 文本不换行 */
|
||||||
overflow: hidden; /* 超出部分隐藏 */
|
overflow: hidden; /* 超出部分隐藏 */
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
.fileBtnBox {
|
.fileBtnBox {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -832,6 +832,7 @@ export default {
|
||||||
white-space: nowrap; /* 文本不换行 */
|
white-space: nowrap; /* 文本不换行 */
|
||||||
overflow: hidden; /* 超出部分隐藏 */
|
overflow: hidden; /* 超出部分隐藏 */
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
.fileBtnBox {
|
.fileBtnBox {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -794,6 +794,7 @@ export default {
|
||||||
white-space: nowrap; /* 文本不换行 */
|
white-space: nowrap; /* 文本不换行 */
|
||||||
overflow: hidden; /* 超出部分隐藏 */
|
overflow: hidden; /* 超出部分隐藏 */
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
.fileBtnBox {
|
.fileBtnBox {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -928,6 +928,7 @@ export default {
|
||||||
white-space: nowrap; /* 文本不换行 */
|
white-space: nowrap; /* 文本不换行 */
|
||||||
overflow: hidden; /* 超出部分隐藏 */
|
overflow: hidden; /* 超出部分隐藏 */
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
.fileBtnBox {
|
.fileBtnBox {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -260,7 +260,9 @@ export default {
|
||||||
type: extendName.split('.')[1],
|
type: extendName.split('.')[1],
|
||||||
status: 0,
|
status: 0,
|
||||||
file: files[i],
|
file: files[i],
|
||||||
id: `${files[i].lastModified}${files[i].name}`,
|
id: `${files[i].lastModified}${
|
||||||
|
files[i].name
|
||||||
|
}${new Date().getTime()}${i + 1}`,
|
||||||
fileType: files[i].type,
|
fileType: files[i].type,
|
||||||
uploadFileSize: 0,
|
uploadFileSize: 0,
|
||||||
}
|
}
|
||||||
|
|
|
@ -958,7 +958,9 @@ export default {
|
||||||
type: extendName.split('.')[1],
|
type: extendName.split('.')[1],
|
||||||
status: 0,
|
status: 0,
|
||||||
file: files[i],
|
file: files[i],
|
||||||
id: `${files[i].lastModified}${files[i].name}`,
|
id: `${files[i].lastModified}${
|
||||||
|
files[i].name
|
||||||
|
}${new Date().getTime()}${i + 1}`,
|
||||||
fileType: files[i].type,
|
fileType: files[i].type,
|
||||||
uploadFileSize: 0,
|
uploadFileSize: 0,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue