no message
Former-commit-id: e83aaa31d66467d0106b9d2380f60a3ef3508a8d Former-commit-id: 7706b2b0054ebb4a81fa63c6ed0895605f92e363 Former-commit-id: 8a8fcf5678daded6ff7c79f537df141b947c8ee2
This commit is contained in:
@@ -1,17 +1,21 @@
|
|||||||
# Vue.$export.csv
|
# Vue.$export
|
||||||
|
|
||||||
## 使用
|
> 数据导出功能
|
||||||
|
|
||||||
### 注册插件
|
## 注册插件
|
||||||
|
|
||||||
```
|
```
|
||||||
import pluginExport from '@/plugin/export'
|
import pluginExport from '@/plugin/export'
|
||||||
Vue.use(pluginExport)
|
Vue.use(pluginExport)
|
||||||
```
|
```
|
||||||
|
|
||||||
### 导出 `CSV`
|
之后就可以在组件中使用 `this.$export` 来调用导出功能
|
||||||
|
|
||||||
使用方法
|
## $export.csv()
|
||||||
|
|
||||||
|
此方法将数据以 `CSV` 格式导出
|
||||||
|
|
||||||
|
使用
|
||||||
|
|
||||||
```
|
```
|
||||||
this.$export.csv({
|
this.$export.csv({
|
||||||
|
|||||||
Reference in New Issue
Block a user