浏览代码

首页路由冲突

qianlishi 8 月之前
父节点
当前提交
3c07a92d6c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Report-V3-TS/src/router/modules/home.ts

+ 1 - 1
Report-V3-TS/src/router/modules/home.ts

@@ -29,7 +29,7 @@ const routes: Array<RouteRecordRaw> = [
     children: [
       {
         path: 'index',
-        name: 'dashboard',
+        name: 'index',
         meta: {
           title: '首页',
         },