mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-02 06:45:08 +08:00
🔧 更新配置,修正类型
This commit is contained in:
@@ -57,7 +57,7 @@ const appStore = useAppStore();
|
||||
const props = defineProps<TpVodProps>();
|
||||
const coverUrl = ref<string>();
|
||||
const vodAspectRatio = ref<number>(16 / 9);
|
||||
const coverBuffer = shallowRef<Uint8Array | null>(null);
|
||||
const coverBuffer = shallowRef<ArrayBuffer | null>(null);
|
||||
const container = shallowRef<Artplayer | null>(null);
|
||||
|
||||
console.log("tpVod", props.data.insert.vod.id, toRaw(props.data).insert.vod);
|
||||
|
||||
@@ -80,7 +80,7 @@ const format = defineModel<string>("format", { default: "png" });
|
||||
|
||||
const bgMode = ref<number>(0); // 0: transparent, 1: black, 2: white
|
||||
const isOriSize = ref<boolean>(false);
|
||||
const buffer = shallowRef<Uint8Array | null>(null);
|
||||
const buffer = shallowRef<ArrayBuffer | null>(null);
|
||||
const oriLink = computed<string>(() => miniImgUrl());
|
||||
const showCopy = computed<boolean>(() => {
|
||||
// 只能显示 png/jpg/jpeg/webp 格式的复制按钮
|
||||
|
||||
Reference in New Issue
Block a user