diff --git a/cosky-dashboard/package.json b/cosky-dashboard/package.json index e6708d9a..b6134059 100644 --- a/cosky-dashboard/package.json +++ b/cosky-dashboard/package.json @@ -21,7 +21,7 @@ "echarts": "^5.4.2", "file-saver": "^2.0.5", "monaco-editor": "^0.34.1", - "ng-zorro-antd": "^15.0.3", + "ng-zorro-antd": "^15.1.1", "ngx-monaco-editor-v2": "^15.0.1", "rxjs": "~7.8.0", "tslib": "^2.3.0", diff --git a/cosky-dashboard/src/app/app.module.ts b/cosky-dashboard/src/app/app.module.ts index d816895a..8f96b022 100644 --- a/cosky-dashboard/src/app/app.module.ts +++ b/cosky-dashboard/src/app/app.module.ts @@ -48,6 +48,7 @@ import {AuditLogComponent} from './components/audit-log/audit-log.component'; import {TopologyComponent} from './components/topology/topology.component'; import {MonacoEditorModule} from "ngx-monaco-editor-v2"; import {NgZorroAntdModule} from "./ng-zorro-antd.module"; +import {NzWaterMarkModule} from "ng-zorro-antd/water-mark"; registerLocaleData(zh); @@ -88,6 +89,7 @@ export const httpInterceptorProviders = [ BrowserAnimationsModule, IconsProviderModule, NgZorroAntdModule, + NzWaterMarkModule, MonacoEditorModule, MonacoEditorModule.forRoot() ], diff --git a/cosky-dashboard/src/app/components/authenticated/authenticated.component.html b/cosky-dashboard/src/app/components/authenticated/authenticated.component.html index 575e6d5b..086e14d0 100644 --- a/cosky-dashboard/src/app/components/authenticated/authenticated.component.html +++ b/cosky-dashboard/src/app/components/authenticated/authenticated.component.html @@ -83,19 +83,24 @@