From 28706df7da34b8854cdce96ad89c035eaded6ea9 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期三, 09 四月 2025 15:54:50 +0800 Subject: [PATCH] 完善数字人 --- src/views/error/404.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/error/404.vue b/src/views/error/404.vue index 0b7d899..39ad3a3 100644 --- a/src/views/error/404.vue +++ b/src/views/error/404.vue @@ -7,9 +7,9 @@ <div class="left-item-animation left-item-num">404</div> <div class="left-item-animation left-item-title">{{ $t('message.notFound.foundTitle') }}</div> <div class="left-item-animation left-item-msg">{{ $t('message.notFound.foundMsg') }}</div> - <div class="left-item-animation left-item-btn"> + <!-- <div class="left-item-animation left-item-btn"> <el-button type="primary" size="default" round @click="onGoHome">{{ $t('message.notFound.foundBtn') }}</el-button> - </div> + </div> --> </div> </div> <div class="right"> @@ -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"> -- Gitblit v1.9.3