|
@@ -2,19 +2,23 @@
|
|
|
import { baseURL } from "@/assets/data/Model";
|
|
|
import { useVideo } from "@/store/Video/index";
|
|
|
const route = useRoute();
|
|
|
-const currentVedioName = ref("");
|
|
|
+const currentVedioName = ref("" as any);
|
|
|
const store = useVideo();
|
|
|
|
|
|
const handlePlayVideo = () => {
|
|
|
store.isVideo = false;
|
|
|
};
|
|
|
-const handlePauseVideo = (data: any) => {
|
|
|
+const handlePauseVideo = () => {
|
|
|
store.isVideo = true;
|
|
|
};
|
|
|
|
|
|
onMounted(() => {
|
|
|
currentVedioName.value = route.query.name;
|
|
|
+ store.isShowBGM = false
|
|
|
});
|
|
|
+onUnmounted(()=> {
|
|
|
+ store.isShowBGM = true
|
|
|
+})
|
|
|
</script>
|
|
|
|
|
|
<template>
|