|
@@ -77,9 +77,15 @@ export default {
|
|
|
this.file = {
|
|
|
name:this.form.file.name
|
|
|
}
|
|
|
- // this.record('等待读取文件MD5')
|
|
|
+ this.upload()
|
|
|
+
|
|
|
+ },
|
|
|
+ upload(){
|
|
|
+ // this.record('等待读取文件MD5')
|
|
|
this.recordMessage = '等待读取文件MD5'
|
|
|
let fileChunks = createFileChunk(this.form.file)
|
|
|
+ console.log(fileChunks)
|
|
|
+ return
|
|
|
this.len = fileChunks.length + 3
|
|
|
|
|
|
getFileMD5(this.form.file, async (md5) => {
|