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
相关文章
相关标签/搜索