blob: 145ccfc7b14ae6c148ff8da89d78ce4d7a735306 [file] [log] [blame]
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<template>
<div class="__container_error_notFound">
<a-result class="result" title="404" :sub-title="$t('noPageTip')">
<template #icon>
<img :src="dubbo" />
</template>
<template #extra>
<a-button type="primary" @click="backHome">{{ $t('backHome') }}</a-button>
</template>
</a-result>
</div>
</template>
<script setup lang="ts">
import { useRouter } from 'vue-router'
import dubbo from '@/assets/dubbo.png'
const router = useRouter()
const backHome = () => {
router.push('/home')
}
</script>
<style lang="less" scoped>
.__container_error_notFound {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
</style>