<script setup>
import {onMounted} from "vue";
import {toPath} from "./utils/index.js";
import {useSystemStore} from "./pinia/SystemStore/index.js";

const SystemStore = useSystemStore();

onMounted(() => {
    toPath(SystemStore.NOW_ROUTER, SystemStore.NOW_ROUTER_QUERY);
});
</script>

<template>
    <a-config-provider>
        <router-view></router-view>
    </a-config-provider>
</template>

<style scoped></style>
