vue上傳圖片組件編寫

點擊打開源碼 https://github.com/317482454/vue_upload 編寫一個vue上傳圖片組件: 1.首先得有一個[type=file]文件標籤並且隱藏,changge事件來獲取圖片: [javascript]  view plain  copy   <input @change="fileChange($event)" type="file" id="upload_fi
相關文章
相關標籤/搜索