mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-04-01 06:39:45 +08:00
🔧 更新配置,修正类型
This commit is contained in:
@@ -51,7 +51,7 @@ type XmlTextParse = { name: string; icon?: string; text: string };
|
||||
const props = defineProps<ToArcBirthProps>();
|
||||
const visible = defineModel<boolean>();
|
||||
const showText = ref<boolean>(false);
|
||||
const buffer = shallowRef<Uint8Array | null>(null);
|
||||
const buffer = shallowRef<ArrayBuffer | null>(null);
|
||||
const textParse = shallowRef<Array<XmlTextParse>>([]);
|
||||
|
||||
onMounted(() => clearData());
|
||||
|
||||
@@ -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