@@ -118,6 +118,7 @@ export default {
registeredNum:"Registered Number",
remainingTime:"Remaining Time",
readAndAgree:"I have read and agree ",
+ notFoundPage:"Sorry, the page you visited cannot be found!",
},
login: {
smsLogin: 'Captcha Login',
@@ -124,6 +124,7 @@ export default {
registeredNum:"已报名人数",
remainingTime:"剩余时间",
readAndAgree:"我已阅读并同意",
+ notFoundPage:"对不起,您访问的页面找不到啦!",
smsLogin: '验证码登录',
@@ -0,0 +1,6 @@
+<template>
+ <el-empty :image-size="200" :description="$t('common.notFoundPage')" />
+</template>
+<script setup>
+
+</script>
@@ -212,6 +212,12 @@ const routes = [
meta: { title: 'route.myLearningCourseDetail' }
}
]
+ },
+ // 404 路由
+ {
+ path: '/:pathMatch(.*)*',
+ name: 'NotFound',
+ component: () => import('@/pages/NotFound.vue')