From 8ca5d0b1053b3569f807b4cc79d2ce45c668214d Mon Sep 17 00:00:00 2001 From: z Date: Wed, 10 Jan 2024 10:04:26 +0800 Subject: [PATCH] init --- src/components/video/index.vue | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/components/video/index.vue b/src/components/video/index.vue index 84c90a9..19561ed 100644 --- a/src/components/video/index.vue +++ b/src/components/video/index.vue @@ -1,6 +1,11 @@ @@ -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"]);