| | |
| | | </span> |
| | | </div> |
| | | </el-upload> |
| | | <el-dialog :visible.sync="dialogVisible" width="600px" :modal-append-to-body="false" :destroy-on-close="true" @close="handleCancel"> |
| | | <el-dialog :visible.sync="dialogVisible" width="600px" append-to-body :modal-append-to-body="false" :destroy-on-close="true" @close="handleCancel"> |
| | | <div style="text-align: center;"> |
| | | <img |
| | | v-if="dialogType == 1" |
| | |
| | | |
| | | methods: { |
| | | handleCancel(e) { |
| | | if (this.$refs.video) { |
| | | this.$refs.video.pause() |
| | | } |
| | | this.dialogImageUrl = '' |
| | | this.dialogVisible = false |
| | | |
| | | setTimeout(() => { |
| | | if (this.$refs.video) { |
| | | this.$refs.video.pause() |
| | | } |
| | | |
| | | this.dialogImageUrl = '' |
| | | }, 200) |
| | | }, |
| | | // 上传前 |
| | | before_upload(file) { |