🔨 执行模板页面.
This commit is contained in:
@@ -22,7 +22,6 @@ export default function setupPermissionGuard(router: Router) {
|
||||
if (access && to.meta.locale === undefined && menuStore.menuFetched) {
|
||||
to.meta = to.matched[to.matched.length - 1].meta;
|
||||
}
|
||||
|
||||
if (access) {
|
||||
// 正常跳转
|
||||
next();
|
||||
|
||||
@@ -3,6 +3,7 @@ import { DEFAULT_LAYOUT } from '../base';
|
||||
|
||||
const ASSET_AUDIT: AppRouteRecordRaw = {
|
||||
name: 'assetAuditModule',
|
||||
path: '/asset-audit-module',
|
||||
component: DEFAULT_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@ import { DEFAULT_LAYOUT } from '../base';
|
||||
|
||||
const ASSET: AppRouteRecordRaw = {
|
||||
name: 'assetModule',
|
||||
path: '/asset-module',
|
||||
component: DEFAULT_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@ import { DEFAULT_LAYOUT } from '../base';
|
||||
|
||||
const DASHBOARD: AppRouteRecordRaw = {
|
||||
name: 'dashboard',
|
||||
path: '/dashboard',
|
||||
component: DEFAULT_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@ import { DEFAULT_LAYOUT } from '../base';
|
||||
|
||||
const EXEC: AppRouteRecordRaw = {
|
||||
name: 'execModule',
|
||||
path: '/exec-module',
|
||||
component: DEFAULT_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@ import { FULL_LAYOUT } from '../base';
|
||||
|
||||
const HOST: AppRouteRecordRaw = {
|
||||
name: 'hostModule',
|
||||
path: '/host-module',
|
||||
component: FULL_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@ import { DEFAULT_LAYOUT } from '../base';
|
||||
|
||||
const SYSTEM: AppRouteRecordRaw = {
|
||||
name: 'systemModule',
|
||||
path: '/system-module',
|
||||
component: DEFAULT_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -3,6 +3,7 @@ import { DEFAULT_LAYOUT } from '../base';
|
||||
|
||||
const USER: AppRouteRecordRaw = {
|
||||
name: 'userModule',
|
||||
path: '/user-module',
|
||||
component: DEFAULT_LAYOUT,
|
||||
children: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user