style: 更改表格导入中下载按钮的位置

This commit is contained in:
FairyEver 2020-04-19 15:30:58 +08:00
parent be64607cec
commit 13f0be1beb
2 changed files with 4 additions and 6 deletions

View File

@ -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">

View File

@ -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">