| | |
| | | <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"> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts" name="notFound"> |
| | | import { onMounted } from 'vue'; |
| | | import { useRouter } from 'vue-router'; |
| | | |
| | | // 定义变量内容 |
| | |
| | | const onGoHome = () => { |
| | | router.push('/'); |
| | | }; |
| | | |
| | | onMounted(()=>{ |
| | | }) |
| | | const currentRoute = router.currentRoute.value |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |