no message
Former-commit-id: ab72d9fb7d7afa7eb8b8c9c76ec99aa7c0f04e15 Former-commit-id: 402a1fd09fbab93c2d4a476a3f6331d22c527c38 Former-commit-id: 586642dbccc2499c4fc5626cdcca743d43a7ed46
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
:label="item.label">
|
:label="item.label">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
<Markdown url="/static/markdownFiles/article/插件 - 导出数据.md"></Markdown>
|
||||||
</Container>
|
</Container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
17
static/markdownFiles/article/插件 - 导出数据.md
Normal file
17
static/markdownFiles/article/插件 - 导出数据.md
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# 导出数据
|
||||||
|
|
||||||
|
注册插件
|
||||||
|
|
||||||
|
```
|
||||||
|
import pluginExport from '@/plugin/export'
|
||||||
|
Vue.use(pluginExport)
|
||||||
|
```
|
||||||
|
|
||||||
|
使用
|
||||||
|
|
||||||
|
```
|
||||||
|
this.$export.csv({
|
||||||
|
columns: this.table.columns,
|
||||||
|
data: this.table.data
|
||||||
|
})
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user