wujingjing
2025-04-09 28706df7da34b8854cdce96ad89c035eaded6ea9
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">