vue中实现文件的上传读取及下载

文件的上传利用input标签的type="file"属性,读取用FileReader对象,下载经过建立a标签实现json <template> <div class="filediv"> <el-button @click="downloadFile">下载</el-button> <div id="fileselect"> <el-input style="mar
相关文章
相关标签/搜索