style: 更改表格导入中下载按钮的位置
This commit is contained in:
parent
be64607cec
commit
13f0be1beb
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue