We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
props: { params: { type: Object, default: () => {} //{jsonData:[],keyMap:{name:'名字'}} } },
这个组件输入,一个是待转化的对象数组,字段会是表格的表头,然后 keyMap,传入可将对应的英文字段 在 excel 用中文展示,以及表头的顺序。如果没传入 keyMap,默认使用 Object.key(jsonData)
对应的的组件链接outportXlsx
附上
props: { onImport: { type: Function, default: () => {} } },
The text was updated successfully, but these errors were encountered:
能否 抽象出个 操作 excel 的 vue 组件?支持 导入/导出 功能 [手动看好你]
Sorry, something went wrong.
No branches or pull requests
个人插件 写一些平时自己用到的一些组件,主要基于 vue
具体插件
import FileSaver from 'file-saver'
import XLSX from 'xlsx'
这个组件输入,一个是待转化的对象数组,字段会是表格的表头,然后 keyMap,传入可将对应的英文字段 在 excel 用中文展示,以及表头的顺序。如果没传入 keyMap,默认使用 Object.key(jsonData)
对应的的组件链接outportXlsx
附上
对应的的组件链接ImportXLSX
The text was updated successfully, but these errors were encountered: