共计 91 个字符,预计需要花费 1 分钟才能阅读完成。
if(/\.(csv|xlsx|xls)$/.test(fileTem.name)) {
this.file = fileTem;
this.isFileHas = false;
}
验证文件类型正则
正文完
共计 91 个字符,预计需要花费 1 分钟才能阅读完成。
if(/\.(csv|xlsx|xls)$/.test(fileTem.name)) {
this.file = fileTem;
this.isFileHas = false;
}
验证文件类型正则