vue中實現文件的上傳讀取及下載

文件的上傳利用input標籤的type="file"屬性,讀取用FileReader對象,下載經過建立a標籤實現json <template> <div class="filediv"> <el-button @click="downloadFile">下載</el-button> <div id="fileselect"> <el-input style="mar
相關文章
相關標籤/搜索