feat: add title

This commit is contained in:
Thanaphon Frappet 2025-03-04 13:39:48 +07:00 committed by Methapon2001
parent 1158d84103
commit 8023de1437

View file

@ -1,11 +1,20 @@
<script lang="ts" setup>
// NOTE: Library
import { computed, onMounted, reactive, ref, watch } from 'vue';
// NOTE: Components
// NOTE: Stores & Type
import { useNavigator } from 'src/stores/navigator';
// NOTE: Variable
const navigatorStore = useNavigator();
onMounted(async () => {
navigatorStore.current.title = 'report.title';
navigatorStore.current.path = [{ text: '' }];
});
</script>
<template></template>
<style scoped></style>