no message

Former-commit-id: 001a03313c662d8798dc0253523ff3173f8a1c1f
Former-commit-id: 5c27db6f49704f3ae850c24aaf96f85bbf172f9b
Former-commit-id: c04352cc6333b087e3999b4dada865799ba766c5
This commit is contained in:
李杨
2018-02-10 22:51:36 +08:00
parent 45c747885a
commit 2066b77358
2 changed files with 23 additions and 2 deletions

View File

@@ -14,9 +14,29 @@ Vue.use(pluginExport)
使用方法
```
const columns = [
{
label: '姓名',
prop: 'name'
},
{
label: '年龄',
prop: 'age'
}
]
const data = [
{
name: 'lucy',
age: 24
},
{
name: 'bob',
age: 26
}
]
this.$export.csv({
columns: this.table.columns,
data: this.table.data
columns,
data
})
```