♻️ Hutao 类型重构,优化目录结构

This commit is contained in:
BTMuli
2023-06-27 14:53:36 +08:00
parent c7c1b2a0a2
commit dc51257e6b
15 changed files with 204 additions and 173 deletions

View File

@@ -9,7 +9,7 @@
// vue
import { onMounted, ref } from "vue";
// utils
import HutaoRequest from "../../plugins/Hutao";
import Hutao from "../../plugins/Hutao";
import HtaOverlayOverview from "../../components/hutaoAbyss/hta-overlay-overview.vue";
const showDialog = ref(false);
@@ -18,7 +18,7 @@ const showDialog = ref(false);
const overview = ref({} as TGApp.Plugins.Hutao.AbyssOverview);
onMounted(async () => {
overview.value = await HutaoRequest.Abyss.getOverview();
overview.value = await Hutao.Abyss.getOverview();
});
function getUpdated() {