Commit a53bbe45 authored by danfuman's avatar danfuman

修改

parent b8f365b0
...@@ -918,6 +918,31 @@ export const dynamicRoutes = [ ...@@ -918,6 +918,31 @@ export const dynamicRoutes = [
} }
]; ];
/**
* 第三方登录首页
*/
export const isThirdPlatformRoutes = [
{
path: '',
component: Layout,
redirect: 'index',
children: [
{
path: 'index',
component: () => import('@/views/index'),
name: 'Index',
meta: { title: '首页', icon: 'index', noCache: true }
}
]
},
{
path: '',
component: Layout,
redirect: '/macro/nationalEconomies',
hidden: true
}
];
// 防止连续点击多次路由报错 // 防止连续点击多次路由报错
let routerPush = Router.prototype.push; let routerPush = Router.prototype.push;
let routerReplace = Router.prototype.replace; let routerReplace = Router.prototype.replace;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment