crc添加

This commit is contained in:
刘召雪
2020-11-16 15:56:50 +08:00
parent ab8970da19
commit 447dd11604

View File

@ -273,8 +273,8 @@ export default {
handleFileSuccess (res, file, fileList) {
if (res.code == 200) {
this.$message.success(res.msg);
let { fileName, length, url } = res;
this.form = Object.assign({}, this.form, { fileName, length, filePath: url });
let { fileName, length, url, crc } = res;
this.form = Object.assign({}, this.form, { fileName, length, filePath: url, crc });
} else {
this.$message.error(res.msg);
}