no message
Former-commit-id: 6446c543a971d047ff8581726d64f91ee2e1ff5c Former-commit-id: d96da1a25c2133dd78df9a43f8705b31f708c174 Former-commit-id: edd9b44c8974a93603c64684ee647125402b1ae4
This commit is contained in:
@@ -13,6 +13,25 @@ Vue.use(pluginExport)
|
||||
|
||||
使用方法
|
||||
|
||||
```
|
||||
this.$export.csv({
|
||||
columns,
|
||||
data
|
||||
})
|
||||
```
|
||||
|
||||
参数
|
||||
|
||||
| 参数名 | 介绍 | 必选 | 值类型 | 可选值 | 默认值 |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| columns | 列 | 非 | Array | | 空数组 |
|
||||
| data | 行数据 | 非 | Array | | 空数组 |
|
||||
| noHeader | 不导出表头 | 非 | Boolean | | false |
|
||||
| separator | 数据分隔符 | 非 | String | | , |
|
||||
| quoted | 每项数据是否加引号 | 非 | Boolean | | false |
|
||||
|
||||
示例
|
||||
|
||||
```
|
||||
const columns = [
|
||||
{
|
||||
@@ -38,11 +57,4 @@ this.$export.csv({
|
||||
columns,
|
||||
data
|
||||
})
|
||||
```
|
||||
|
||||
参数
|
||||
|
||||
| 参数名 | 介绍 | 必选 | 值类型 | 可选值 | 默认值 |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| columns | 列 | 非 | Array | | 空数组 |
|
||||
| data | 行数据 | 非 | Array | | 空数组 |
|
||||
```
|
||||
Reference in New Issue
Block a user