Skip to content

Commit

Permalink
perf: 示例路由layout改完动态引入
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Nov 10, 2022
1 parent 1965917 commit f9b05b5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/router/routes/3-components.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RouteRecordRaw } from 'vue-router';
import Layout from '@/layout/index.vue';
import { Layout } from '@/router/constant';
import { concatObjectValue } from '@/utils/helper';
export const routes: RouteRecordRaw[] = [
{
Expand Down
2 changes: 1 addition & 1 deletion src/router/routes/4-customForm.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RouteRecordRaw } from 'vue-router';
import Layout from '@/layout/index.vue';
import { Layout } from '@/router/constant';
export const routes: RouteRecordRaw[] = [
{
path: '/customForm',
Expand Down
2 changes: 1 addition & 1 deletion src/router/routes/5-rolePermissions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RouteRecordRaw } from 'vue-router';
import Layout from '@/layout/index.vue';
import { Layout } from '@/router/constant';
export const routes: RouteRecordRaw[] = [
{
path: '/rolePermissions',
Expand Down
2 changes: 1 addition & 1 deletion src/router/routes/7-404.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RouteRecordRaw } from 'vue-router';
import Layout from '@/layout/index.vue';
import { Layout } from '@/router/constant';
export const routes: RouteRecordRaw[] = [
{
path: '/page404',
Expand Down
2 changes: 1 addition & 1 deletion src/router/routes/components/1-editor.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { RouteRecordRaw } from 'vue-router';
import LayoutPage from '@/layout/components/page.vue';
import { LayoutPage } from '@/router/constant';
import { concatObjectValue } from '@/utils/helper';
export const routes: RouteRecordRaw[] = [
{
Expand Down

0 comments on commit f9b05b5

Please sign in to comment.