|
@@ -3,7 +3,6 @@ import { TimeController } from "@/controllers/TimeController";
|
|
|
import Slider from "@/modules/editor/components/CompUI/formItems/Slider";
|
|
|
import { useResource } from "@/modules/resource";
|
|
|
import { Button } from "ant-design-vue";
|
|
|
-import dayjs from "dayjs";
|
|
|
import { queenApi } from "queenjs";
|
|
|
import Modal from "queenjs/adapter/vue/components/modal";
|
|
|
import { defineComponent, reactive, ref } from "vue";
|
|
@@ -133,7 +132,7 @@ export default defineComponent({
|
|
|
controls
|
|
|
ref={videoRef}
|
|
|
src={record.file?.url}
|
|
|
- class="w-full"
|
|
|
+ class="h-full w-full"
|
|
|
onLoadeddata={() => {
|
|
|
const time = videoRef.value.duration;
|
|
|
state.duration = Math.floor(time);
|
|
@@ -150,7 +149,7 @@ export default defineComponent({
|
|
|
controls
|
|
|
ref={previewRef}
|
|
|
src={previewObj.file?.url}
|
|
|
- class="w-full"
|
|
|
+ class="h-full w-full"
|
|
|
onLoadeddata={() => {
|
|
|
previewRef.value.volume = previewRef.value.volume / 2;
|
|
|
}}
|