mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 16:48:39 +08:00
对未设置 redirect 的父路由,访问时将自动重定向到允许访问的子路由
This commit is contained in:
@@ -7,7 +7,6 @@ function Layout() {
|
||||
const routes: RouteRecordRaw = {
|
||||
path: '/tab_example',
|
||||
component: Layout,
|
||||
redirect: '/tab_example/index',
|
||||
name: 'tabExample',
|
||||
meta: {
|
||||
title: '标签栏',
|
||||
|
||||
Reference in New Issue
Block a user