diff --git a/ui/.vscode/settings.json b/ui/.vscode/settings.json index 29149abb..dff55bdc 100644 --- a/ui/.vscode/settings.json +++ b/ui/.vscode/settings.json @@ -22,4 +22,4 @@ }, "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true -} \ No newline at end of file +} diff --git a/ui/projects/web/server.ts b/ui/projects/web/server.ts index eaa03054..7b24225b 100644 --- a/ui/projects/web/server.ts +++ b/ui/projects/web/server.ts @@ -1,9 +1,9 @@ import {APP_BASE_HREF} from '@angular/common'; import {CommonEngine} from '@angular/ssr'; -import express from 'express'; import {fileURLToPath} from 'node:url'; import {dirname, join, resolve} from 'node:path'; import bootstrap from './src/main.server'; +import express from 'express'; // The Express app is exported so that it can be used by serverless Functions. export function app(): express.Express { diff --git a/ui/projects/web/src/app/app.component.html b/ui/projects/web/src/app/app.component.html index 8a99a3b8..50322faa 100644 --- a/ui/projects/web/src/app/app.component.html +++ b/ui/projects/web/src/app/app.component.html @@ -7,4 +7,4 @@
UP
- \ No newline at end of file + diff --git a/ui/projects/web/src/app/app.config.server.ts b/ui/projects/web/src/app/app.config.server.ts index ad12eba7..b7417ebe 100644 --- a/ui/projects/web/src/app/app.config.server.ts +++ b/ui/projects/web/src/app/app.config.server.ts @@ -3,9 +3,7 @@ import {provideServerRendering} from '@angular/platform-server'; import {appConfig} from './app.config'; const serverConfig: ApplicationConfig = { - providers: [ - provideServerRendering(), - ], + providers: [provideServerRendering()], }; export const config = mergeApplicationConfig(appConfig, serverConfig); diff --git a/ui/projects/web/src/app/app.config.ts b/ui/projects/web/src/app/app.config.ts index ff491099..c220397c 100644 --- a/ui/projects/web/src/app/app.config.ts +++ b/ui/projects/web/src/app/app.config.ts @@ -12,7 +12,7 @@ import { withXsrfConfiguration, } from '@angular/common/http'; import {BrowserStorageServerService, BrowserStorageService,} from 'plate-commons'; -import {authTokenInterceptor, defaultInterceptor} from '../core/http.Interceptor'; +import {authTokenInterceptor, defaultInterceptor,} from '../core/http.Interceptor'; import {PageTitleStrategy} from '../core/title-strategy.service'; import {routes} from './app.routes'; diff --git a/ui/projects/web/src/pages/system/menus/menus.component.ts b/ui/projects/web/src/pages/system/menus/menus.component.ts index 6d405f30..88bdd93b 100644 --- a/ui/projects/web/src/pages/system/menus/menus.component.ts +++ b/ui/projects/web/src/pages/system/menus/menus.component.ts @@ -58,11 +58,7 @@ export class MenusComponent implements OnInit, OnDestroy { return array; } - visitNode( - node: Menu, - hashMap: Record, - array: Menu[] - ): void { + visitNode(node: Menu, hashMap: Record, array: Menu[]): void { if (!hashMap[node.code ? node.code : '0']) { hashMap[node.code ? node.code : '0'] = true; array.push(node); diff --git a/ui/projects/web/src/shared/shared-zorro.module.ts b/ui/projects/web/src/shared/shared-zorro.module.ts index 895e2d56..9316f617 100644 --- a/ui/projects/web/src/shared/shared-zorro.module.ts +++ b/ui/projects/web/src/shared/shared-zorro.module.ts @@ -10,7 +10,6 @@ import {NzModalModule} from 'ng-zorro-antd/modal'; import {NzFormModule} from 'ng-zorro-antd/form'; import {NzInputModule} from 'ng-zorro-antd/input'; - @NgModule({ exports: [ NzMessageModule,