From 5fb58c10b2bb44b3f2d3bdab4d7a6619271e2bbf Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期三, 02 四月 2025 17:51:39 +0800 Subject: [PATCH] smallScreenClick --- 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