mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
🚨 修复qodana、oxlint报错
This commit is contained in:
@@ -122,6 +122,11 @@ interface ToUcDetailData {
|
||||
bgFit: "contain" | "cover";
|
||||
}
|
||||
|
||||
interface ToUcDetailSelect {
|
||||
type: "命座" | "武器" | "圣遗物";
|
||||
pos: number;
|
||||
}
|
||||
|
||||
const emits = defineEmits<ToUcDetailEmits>();
|
||||
const props = defineProps<ToUcDetailProps>();
|
||||
const visible = computed({
|
||||
@@ -148,8 +153,8 @@ const selectWeapon = ref<TGApp.Sqlite.Character.RoleWeapon>(<TGApp.Sqlite.Charac
|
||||
const selectRelic = ref<TGApp.Sqlite.Character.RoleReliquary>(
|
||||
<TGApp.Sqlite.Character.RoleReliquary>{},
|
||||
);
|
||||
const selected = ref({
|
||||
type: "武器" || "命之座" || "圣遗物",
|
||||
const selected = ref<ToUcDetailSelect>({
|
||||
type: "武器",
|
||||
pos: 0,
|
||||
});
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { onBeforeMount, onMounted, ref, watch } from "vue";
|
||||
import { onMounted, ref, watch } from "vue";
|
||||
|
||||
import { parseHtmlText } from "../../utils/toolFunc";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user