Commit 69227710 by 陈超

A

parent 6c93e166
......@@ -36,6 +36,7 @@
"vue-axios": "^2.1.2",
"vue-clipboard2": "^0.3.0",
"vue-cnname-avatar": "^1.0.6",
"vue-core-video-player": "^0.2.0",
"vue-cron": "^1.0.9",
"vue-echarts": "^4.0.1",
"vue-json-editor": "^1.2.3",
......
<template>
<el-dialog
title="播放器"
:visible.sync="show"
width="50%"
:close-on-click-modal="false"
:before-close="handleClose" append-to-body>
<vue-core-video-player :src="url" :loop="false"></vue-core-video-player>
</el-dialog>
</template>
<script>
export default {
props: {
show: Boolean,
url: [String, Object]
},
data() {
return {
}
},
methods: {
handleClose() {
this.$emit('close')
}
}
}
</script>
<style scoped>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment