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

View File

@ -28,6 +28,7 @@ import { useRouter } from 'vue-router';
// 定义变量内容
const router = useRouter();
// 返回首页
const onGoHome = () => {
router.push('/');
};