From da7060fe446a89b5e6cf89ca0818699764a4db14 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Sun, 7 Jan 2024 00:30:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20=E4=BF=AE=E5=A4=8Dqodana?= =?UTF-8?q?=E3=80=81oxlint=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/userCharacter/tuc-detail-overlay.vue | 9 +++++++-- src/components/wiki/twc-constellations.vue | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/userCharacter/tuc-detail-overlay.vue b/src/components/userCharacter/tuc-detail-overlay.vue index 98892c1b..04c8c56e 100644 --- a/src/components/userCharacter/tuc-detail-overlay.vue +++ b/src/components/userCharacter/tuc-detail-overlay.vue @@ -122,6 +122,11 @@ interface ToUcDetailData { bgFit: "contain" | "cover"; } +interface ToUcDetailSelect { + type: "命座" | "武器" | "圣遗物"; + pos: number; +} + const emits = defineEmits(); const props = defineProps(); const visible = computed({ @@ -148,8 +153,8 @@ const selectWeapon = ref(( {}, ); -const selected = ref({ - type: "武器" || "命之座" || "圣遗物", +const selected = ref({ + type: "武器", pos: 0, }); diff --git a/src/components/wiki/twc-constellations.vue b/src/components/wiki/twc-constellations.vue index ce4f853b..1ab78019 100644 --- a/src/components/wiki/twc-constellations.vue +++ b/src/components/wiki/twc-constellations.vue @@ -26,7 +26,7 @@