mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🚨 修复 Qodana 报错
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
<ToCalendar v-model="showItem" :data-type="selectedType" :data-val="selectedItem" />
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import { computed, onMounted, ref } from "vue";
|
||||
import { onMounted, ref } from "vue";
|
||||
|
||||
import THomecard from "./t-homecard.vue";
|
||||
import { AppCalendarData } from "../../data";
|
||||
@@ -130,7 +130,7 @@ function getCalendar(day: number): TGApp.App.Calendar.Item[] {
|
||||
}
|
||||
|
||||
function getGrid(): TGApp.App.Calendar.Item[] {
|
||||
let selectedCards: TGApp.App.Calendar.Item[] = [];
|
||||
let selectedCards: TGApp.App.Calendar.Item[];
|
||||
if (switchType.value === "avatar") {
|
||||
selectedCards = characterCards.value;
|
||||
} else {
|
||||
|
||||
@@ -10,7 +10,7 @@ import TGLogger from "../../utils/TGLogger";
|
||||
|
||||
interface TpUnknownProps {
|
||||
data: TGApp.Plugins.Mys.SctPost.Empty;
|
||||
next: unknown;
|
||||
next?: unknown;
|
||||
}
|
||||
|
||||
const props = defineProps<TpUnknownProps>();
|
||||
|
||||
Reference in New Issue
Block a user