- 博客(4)
- 收藏
- 关注
原创 git常用命令总结
//01-初始配置git init 初始化本地git仓库(创建新仓库)git config --global user.name “xxx” 配置用户名git config – global user.email “xxx@xxx.com” 配置用户邮箱git cl
2020-07-27 17:24:05
86
原创 React-antd-ExportExcel
基于XLSX封装的excel导出组件(备忘)import * as React from 'react';import * as XLSX from 'xlsx';import { Button, Icon } from 'antd';export interface ExportExcelProps { notice: string; fileName: string; headers: string[] | Function; //表头 getExportD
2020-07-10 16:06:05
193
原创 React-antd-ImportExcel
React-antd-ImportExcel工作需求,需要导入Excel并解析为JSON,故封装了一个Excel导入组件import * as React from 'react';import * as XLSX from 'xlsx';import { Button, Icon, message } from 'antd';export interface ImportExcelProps { getFileInfo: Function; notice?: string;
2020-07-10 15:50:57
237
原创 使用nodeJS读取&导出excel
1.excel转json/* * @path:xlsx文件路径 */var XLSX = require('xlsx');let excelToJson = (path) => { const workbook = XLSX.readFile(path); const sheetNameList = workbook.SheetNames; const wo...
2020-03-31 10:36:34
568
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人