1. js 读取 xlsx 文件
1 const XLSX = require('xlsx'); 2 var buf = fs.readFileSync("目标目标.xlsx"); 3 var user = XLSX.read(buf, {type:'buffer'});
1. js 读取 xlsx 文件
1 const XLSX = require('xlsx'); 2 var buf = fs.readFileSync("目标目标.xlsx"); 3 var user = XLSX.read(buf, {type:'buffer'});