Commit 488c9b1d authored by renjintao's avatar renjintao

index

parent 9732195b
...@@ -773,9 +773,7 @@ export default { ...@@ -773,9 +773,7 @@ export default {
async beforeUpload(file) { async beforeUpload(file) {
this.excelData = []; this.excelData = [];
this.$refs.uploadfile.clearFiles(); //清除上一次上传文件列表 this.$refs.uploadfile.clearFiles(); //清除上一次上传文件列表
var tempColums = this.$u.clone(this.columnsImport); var tempColums = this.$u.clone(this.columnsImport);
const workbook = await this.$u.readXLSX(file); const workbook = await this.$u.readXLSX(file);
const sheet2JSONOpts = { const sheet2JSONOpts = {
defval: "", //给defval赋值为空的字符串 defval: "", //给defval赋值为空的字符串
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment