Skip to content

Commit

Permalink
style: 更改表格导入中下载按钮的位置
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed Apr 19, 2020
1 parent be64607 commit 13f0be1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions src/views/demo/plugins/import/csv.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<template>
<d2-container type="card">
<template slot="header">导入 csv</template>
<div class="d2-mb">
<template slot="header">
<el-button @click="download">
<d2-icon name="download"/>
下载演示 .csv 表格
</el-button>
</div>
</template>
<div class="d2-mb">
<el-upload :before-upload="handleUpload" action="default">
<el-button type="success">
Expand Down
5 changes: 2 additions & 3 deletions src/views/demo/plugins/import/xlsx.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<template>
<d2-container type="card">
<template slot="header">导入 xlsx</template>
<div class="d2-mb">
<template slot="header">
<el-button @click="download">
<d2-icon name="download"/>
下载演示 .xlsx 表格
</el-button>
</div>
</template>
<div class="d2-mb">
<el-upload :before-upload="handleUpload" action="default">
<el-button type="success">
Expand Down

0 comments on commit 13f0be1

Please sign in to comment.