摘要: 当前页使用,element ui组件为例 1、html <el-upload class="upload-template" :class="{ 'no-files': !fileList.length }" action="#" :accept="accept" :file-list="fileL 阅读全文
posted @ 2021-02-20 16:25 JeckHui 阅读(655) 评论(0) 推荐(0)
摘要: 1、组件源码 <!-- 功能:下载一个ajax返回的流数据 --> <template> <div> <a ref="autoDownload" :href="url" :download="filename" :style="downloadStyle" class="download"> {{ 阅读全文
posted @ 2021-02-20 16:01 JeckHui 阅读(551) 评论(0) 推荐(0)