🐛 修复一堆bug

This commit is contained in:
目棃
2024-09-06 11:23:19 +08:00
parent 8e995283ea
commit 599f9273e2
23 changed files with 102 additions and 492 deletions

View File

@@ -1,5 +1,5 @@
<template>
<TOverlay v-model="visible" hide :to-click="onCancel" blur-val="20px">
<TOverlay v-model="visible" :hide="true" :to-click="onCancel" blur-val="20px">
<div class="tolc-box">
<div class="tolc-title">兑换码</div>
<v-list-item v-for="(item, index) in props.data" :key="index">
@@ -34,10 +34,7 @@ interface ToLiveCodeProps {
type ToLiveCodeEmits = (e: "update:modelValue", value: boolean) => void;
const props = withDefaults(defineProps<ToLiveCodeProps>(), {
data: <TGApp.BBS.Navigator.CodeData[]>[],
modelValue: false,
});
const props = withDefaults(defineProps<ToLiveCodeProps>(), { modelValue: false });
const emits = defineEmits<ToLiveCodeEmits>();
const visible = computed<boolean>({