no message

Former-commit-id: e60136c9a66a0251aebf8f001a0d20bfc2af9276
Former-commit-id: 7f8aa0345693d68714632975b7640263cda38dde
Former-commit-id: c24b9cd2deb563a520f52c948d8f9721cd71d10f
This commit is contained in:
李杨
2018-02-12 18:25:17 +08:00
parent f6c579439b
commit 6f11dd1b9b
2 changed files with 27 additions and 27 deletions

View File

@@ -24,7 +24,7 @@ this.$export.csv({
columns,
data
})
.then(data => {
.then(() => {
// ...可选回调
})
```
@@ -80,7 +80,7 @@ this.$export.excel({
columns,
data
})
.then(data => {
.then(() => {
// ...可选回调
})
```
@@ -133,7 +133,7 @@ this.$export.excel({
columns,
data
})
.then(data => {
.then(() => {
// ...可选回调
})
```
@@ -149,28 +149,4 @@ this.$export.excel({
示例
```
const columns = [
{
label: '姓名',
prop: 'name'
},
{
label: '年龄',
prop: 'age'
}
]
const data = [
{
name: 'lucy',
age: 24
},
{
name: 'bob',
age: 26
}
]
this.$export.excel({
columns,
data
})
```