| | |
| | | :http-request="requestUpload1" |
| | | :show-file-list="true" |
| | | > |
| | | <i slot="default" class="el-icon-plus"></i> |
| | | <i slot="default" class="el-icon-plus"></i> |
| | | <div slot="file" slot-scope="{file}"> |
| | | <!-- 添加video元素用于显示视频 --> |
| | | <video |
| | |
| | | } |
| | | } |
| | | }, |
| | | |
| | | handlePictureCardPreview(file) { |
| | | this.dialogImageUrl = file.url; |
| | | this.dialogVisible = true; |
| | |
| | | formData.append("files", elem) |
| | | |
| | | }) |
| | | // console.log(formData,'465456456') |
| | | //alert(90) |
| | | let _this = this |
| | | //alert(9) |
| | | uploadPic(formData).then(response => { |
| | | // alert("dds") |
| | | // console.log(response) |
| | | // console.log(response,'123123123') |
| | | // console.log(_this.formDat.url,'666') |
| | | _this.formDat.url = _this.formDat.url+","+response.fileNames |
| | | // alert(_this.formDat.url) |