if(/\.(csv|xlsx|xls)$/.test(fileTem.name)) {
this.file = fileTem;
this.isFileHas = false;
}
验证文件类型正则
if(/\.(csv|xlsx|xls)$/.test(fileTem.name)) {
this.file = fileTem;
this.isFileHas = false;
}
验证文件类型正则