Skip to content

Commit

Permalink
🚨 修复 Qodana 报错
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Mar 31, 2024
1 parent d9bbe4e commit d8ade95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/home/t-calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/components/post/tp-unknown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>();
Expand Down

0 comments on commit d8ade95

Please sign in to comment.