update src/views/error/404.vue.

Signed-off-by: lyt-Top <1105290566@qq.com>
This commit is contained in:
lyt-Top 2022-11-30 09:46:14 +00:00 committed by Gitee
parent 852075ccfb
commit 8ed7986a96
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -28,6 +28,7 @@ import { useRouter } from 'vue-router';
//
const router = useRouter();
//
const onGoHome = () => {
router.push('/');
};