angular7 导入Excel文件
创建一个类型为file的input
<a href="javascript:;">
<input type="file" [(ngModel)]="file"
accept=".csv, application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
ng2FileSelect (change)=.
原创
2020-06-16 15:37:14 ·
1010 阅读 ·
0 评论