项目场景: 通过vue上传文件基本操作 问题描述: 使用html上传文件时,很容易理解,那么vue文件上传呢?我们学了vue不可能还往里面写原生html的内容吧! 先放代码再解释: <template> <div> <el-form :model="form"> <el-upload action="url" :auto-upload="false" :on-change="onchanger" :file-list="fileList" > <el-button size="small"