|
@@ -18,20 +18,20 @@
|
|
|
:limit="limit"
|
|
|
:on-exceed="handleExceed"
|
|
|
:http-request="handleUpload"
|
|
|
- :auto-upload="false"
|
|
|
+ :auto-upload="true"
|
|
|
style="margin-top: 10px; margin-left: 10px"
|
|
|
>
|
|
|
<el-button v-show="!display" slot="trigger" size="small" type="primary"
|
|
|
- >选取文件</el-button
|
|
|
+ >点击上传</el-button
|
|
|
>
|
|
|
- <el-button
|
|
|
+ <!-- <el-button
|
|
|
v-show="!display"
|
|
|
style="margin-left: 10px"
|
|
|
size="small"
|
|
|
type="success"
|
|
|
@click="submitUpload"
|
|
|
>开始上传</el-button
|
|
|
- >
|
|
|
+ > -->
|
|
|
<el-button v-if="templateCode !== ''" size="small" @click="downloadTemplate">下载模板</el-button>
|
|
|
</el-upload>
|
|
|
</el-col>
|