crc添加
This commit is contained in:
@ -273,8 +273,8 @@ export default {
|
|||||||
handleFileSuccess (res, file, fileList) {
|
handleFileSuccess (res, file, fileList) {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
this.$message.success(res.msg);
|
this.$message.success(res.msg);
|
||||||
let { fileName, length, url } = res;
|
let { fileName, length, url, crc } = res;
|
||||||
this.form = Object.assign({}, this.form, { fileName, length, filePath: url });
|
this.form = Object.assign({}, this.form, { fileName, length, filePath: url, crc });
|
||||||
} else {
|
} else {
|
||||||
this.$message.error(res.msg);
|
this.$message.error(res.msg);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user