forked from integrated_whb/integrated_whb_vue
init
parent
bab6fe50b8
commit
8ca5d0b105
|
@ -1,6 +1,11 @@
|
|||
<template>
|
||||
<el-dialog title="视频" v-model="visible">
|
||||
<ali-player :source="fnSrc(src)" ref="playerRef" />
|
||||
<ali-player
|
||||
:source="fnSrc(src)"
|
||||
:vid="vid"
|
||||
:play-auth="playAuth"
|
||||
ref="playerRef"
|
||||
/>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
|
@ -16,12 +21,20 @@ defineOptions({
|
|||
const props = defineProps({
|
||||
src: {
|
||||
type: String,
|
||||
required: true,
|
||||
default: "",
|
||||
},
|
||||
vid: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
playAuth: {
|
||||
type: String,
|
||||
default: "",
|
||||
},
|
||||
visible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
required: true,
|
||||
default: false,
|
||||
},
|
||||
});
|
||||
const emits = defineEmits(["update:visible"]);
|
||||
|
|
Loading…
Reference in New Issue