gerson
2024-08-25 9a8a56f6d2cfe0ab9ec9368d58d03d1cf10ade28
src/views/error/404.vue
@@ -23,6 +23,7 @@
</template>
<script setup lang="ts" name="notFound">
import { onMounted } from 'vue';
import { useRouter } from 'vue-router';
// 定义变量内容
@@ -32,6 +33,10 @@
const onGoHome = () => {
   router.push('/');
};
onMounted(()=>{
})
const currentRoute = router.currentRoute.value
</script>
<style scoped lang="scss">