Compare commits

..

No commits in common. "87bd93edf90b1e3ad9c8da963180154553039c1e" and "ada34b806a9b76c02674ed957f69162644b1a5b5" have entirely different histories.

View File

@ -214,16 +214,13 @@ export default {
currentRow.percentage = 0
const _20M = 20 * 1024 * 1024 //
let that =this;
this.getMd5(file,file.size)
this.getMd5(file)
.then((res) => {
let fileMD5Value = res
verifyFileExist({ fileMD5Value: fileMD5Value })
.then((res) => {
if (res.result.exist) { //
that.$message.warning(file.name+'文件已存在');
that.tableDate = that.tableDate.filter(item => item.name == file.name);
delete that.fileMD5[file.uid]
console.log(that.tableDate )
} else { //
if (file.size > _20M) { // 20M
that.uploadByPieces({ //