<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wb="http://open.weibo.com/wb" style="overflow: hidden;"> <head> <script src="./js/xlsx.js" type="text/javascript"></script> <script src="./js/excel.js" type="text/javascript"></script> <script> async function test(inputel) { var test = await exceltoxlxstream(inputel.files[0]); console.log(test) } </script> </head> <body> <input type="file" name="excel" id="excel" value="new test" onchange="test(this)" /> </body> </html>