智慧园区前端大屏
shuishen
2024-11-21 c53e182c03881dc2f2f12c6080c23b317b2618a7
无匹配路由默认跳转首页
1 files modified
7 ■■■■ changed files
src/router/index.js 7 ●●●● patch | view | raw | blame | history
src/router/index.js
@@ -2,7 +2,7 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-10-25 16:35:31
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-11-11 18:38:01
 * @LastEditTime: 2024-11-21 15:35:48
 * @FilePath: \bigScreen\src\router\index.js
 * @Description: 
 * 
@@ -15,6 +15,11 @@
const companyInfo = () => import('@/views/companyInfo/index.vue')
const routes = [
  {
    path: '/:catchAll(.*)',
    name: 'not-found',
    redirect: '/layout',
  },
  {
    path: '',
    redirect: '/layout',
  },