|
@@ -1,19 +1,20 @@
|
|
|
-import { NgModule } from '@angular/core';
|
|
|
-import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
|
|
-
|
|
|
-const routes: Routes = [
|
|
|
- {
|
|
|
- path: '',
|
|
|
- loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'user',
|
|
|
- loadChildren: () => import('../modules/user/user.module').then(m => m.UserModule)
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'aigc',
|
|
|
- loadChildren: () => import('../modules/aigc/aigc.module').then(m => m.AigcModule)
|
|
|
- },
{
|
|
|
+import { NgModule } from '@angular/core';
|
|
|
+import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
|
|
+
|
|
|
+const routes: Routes = [
|
|
|
+ {
|
|
|
+ path: '',
|
|
|
+ loadChildren: () => import('./tabs/tabs.module').then(m => m.TabsPageModule)
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'user',
|
|
|
+ loadChildren: () => import('../modules/user/user.module').then(m => m.UserModule)
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'aigc',
|
|
|
+ loadChildren: () => import('../modules/aigc/aigc.module').then(m => m.AigcModule)
|
|
|
+ },
|
|
|
+ {
|
|
|
path: 'tsdatatype',
|
|
|
loadChildren: () => import('./tsdatatype/tsdatatype.module').then( m => m.TsdatatypePageModule)
|
|
|
},
|
|
@@ -25,12 +26,11 @@ const routes: Routes = [
|
|
|
path: 'case-edit',
|
|
|
loadChildren: () => import('./case-edit/case-edit.module').then( m => m.CaseEditPageModule)
|
|
|
}
|
|
|
-
|
|
|
-];
|
|
|
-@NgModule({
|
|
|
- imports: [
|
|
|
- RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
|
|
- ],
|
|
|
- exports: [RouterModule]
|
|
|
-})
|
|
|
-export class AppRoutingModule {}
|
|
|
+];
|
|
|
+@NgModule({
|
|
|
+ imports: [
|
|
|
+ RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
|
|
+ ],
|
|
|
+ exports: [RouterModule]
|
|
|
+})
|
|
|
+export class AppRoutingModule {}
|