File tree Expand file tree Collapse file tree 17 files changed +110
-16
lines changed
Expand file tree Collapse file tree 17 files changed +110
-16
lines changed Original file line number Diff line number Diff line change 44dist-ssr
55* .local
66.eslintcache
7+ report.html
78
89yarn.lock
910npm-debug.log *
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ export const routerArrays: Array<RouteConfigs> = [
1212
1313export type routeMetaType = {
1414 title ?: string ;
15- i18n ?: boolean ;
1615 icon ?: string ;
1716 showLink ?: boolean ;
1817 savedPosition ?: boolean ;
@@ -65,7 +64,6 @@ export type childrenType = {
6564 meta ?: {
6665 icon ?: string ;
6766 title ?: string ;
68- i18n ?: boolean ;
6967 showParent ?: boolean ;
7068 extraIcon ?: {
7169 svg ?: boolean ;
Original file line number Diff line number Diff line change 11import { $t } from "/@/plugins/i18n" ;
2+ import type { RouteConfigsTable } from "/#/index" ;
23const Layout = ( ) => import ( "/@/layout/index.vue" ) ;
34
4- const ableRouter = {
5+ const ableRouter : RouteConfigsTable = {
56 path : "/able" ,
67 component : Layout ,
78 redirect : "/able/watermark" ,
Original file line number Diff line number Diff line change 11import { $t } from "/@/plugins/i18n" ;
2+ import type { RouteConfigsTable } from "/#/index" ;
23const Layout = ( ) => import ( "/@/layout/index.vue" ) ;
34
4- const aboutRouter = {
5+ const aboutRouter : RouteConfigsTable = {
56 path : "/about" ,
67 component : Layout ,
78 redirect : "/about/index" ,
Original file line number Diff line number Diff line change 11import { $t } from "/@/plugins/i18n" ;
2+ import type { RouteConfigsTable } from "/#/index" ;
23const Layout = ( ) => import ( "/@/layout/index.vue" ) ;
34
4- const componentsRouter = {
5+ const componentsRouter : RouteConfigsTable = {
56 path : "/components" ,
67 component : Layout ,
78 redirect : "/components/video" ,
Original file line number Diff line number Diff line change 11import { $t } from "/@/plugins/i18n" ;
2+ import type { RouteConfigsTable } from "/#/index" ;
23const Layout = ( ) => import ( "/@/layout/index.vue" ) ;
34
4- const editorRouter = {
5+ const editorRouter : RouteConfigsTable = {
56 path : "/editor" ,
67 component : Layout ,
78 redirect : "/editor/index" ,
Original file line number Diff line number Diff line change 11import { $t } from "/@/plugins/i18n" ;
2+ import type { RouteConfigsTable } from "/#/index" ;
23const Layout = ( ) => import ( "/@/layout/index.vue" ) ;
34
4- const errorRouter = {
5+ const errorRouter : RouteConfigsTable = {
56 path : "/error" ,
67 component : Layout ,
78 redirect : "/error/403" ,
Original file line number Diff line number Diff line change 11import { $t } from "/@/plugins/i18n" ;
2+ import type { RouteConfigsTable } from "/#/index" ;
23const Layout = ( ) => import ( "/@/layout/index.vue" ) ;
34
4- const flowChartRouter = {
5+ const flowChartRouter : RouteConfigsTable = {
56 path : "/flowChart" ,
67 component : Layout ,
78 redirect : "/flowChart/index" ,
Original file line number Diff line number Diff line change 11import { $t } from "/@/plugins/i18n" ;
2+ import type { RouteConfigsTable } from "/#/index" ;
23const Layout = ( ) => import ( "/@/layout/index.vue" ) ;
34
4- const formDesignRouter = {
5+ const formDesignRouter : RouteConfigsTable = {
56 path : "/formDesign" ,
67 component : Layout ,
78 redirect : "/formDesign/index" ,
Original file line number Diff line number Diff line change 11import { $t } from "/@/plugins/i18n" ;
2+ import type { RouteConfigsTable } from "/#/index" ;
23const Layout = ( ) => import ( "/@/layout/index.vue" ) ;
34
4- const guideRouter = {
5+ const guideRouter : RouteConfigsTable = {
56 path : "/guide" ,
67 component : Layout ,
78 redirect : "/guide/index" ,
You can’t perform that action at this time.
0 commit comments