摘要:
<a-modal v-model="uploadVisible" :title="title" :maskClosable="false" width="1000px" :destroyOnClose="true" @cancel="closeModal" :footer="!isshowFoote 阅读全文
摘要:
1.安装xlsx npm i xlsx 2.封装函数 引入xlsx const XLSX = require('xlsx'); /** * 把文件按照二进制进行读取 * @param file * @returns */ export function readFile(file) { return 阅读全文