From 81d3a731433e932714a7c64c3fa59ce3bc733129 Mon Sep 17 00:00:00 2001 From: zhaojisen <1301338853@qq.com> Date: Wed, 4 Sep 2024 15:21:43 +0800 Subject: [PATCH] perf: Substitution watermark and icons --- ui/package.json | 1 + .../Kubernetes/MainContent/index.vue | 15 ++--- .../Sidebar/components/Tree/index.vue | 6 +- ui/src/components/Kubernetes/Tree/index.scss | 8 ++- ui/src/components/Kubernetes/Tree/index.vue | 60 ++++++++++++------- ui/src/components/Kubernetes/helper/index.ts | 2 +- ui/src/hooks/useK8s.ts | 48 +++++++-------- ui/src/index.css | 4 ++ ui/yarn.lock | 5 ++ 9 files changed, 89 insertions(+), 60 deletions(-) diff --git a/ui/package.json b/ui/package.json index 7b7c9ffa..16654285 100644 --- a/ui/package.json +++ b/ui/package.json @@ -38,6 +38,7 @@ "@vicons/fluent": "^0.12.0", "@vicons/ionicons5": "^0.12.0", "@vicons/material": "^0.12.0", + "@vicons/tabler": "^0.12.0", "@vitejs/plugin-vue": "^5.0.5", "autoprefixer": "^10.4.19", "postcss": "^8.4.39", diff --git a/ui/src/components/Kubernetes/MainContent/index.vue b/ui/src/components/Kubernetes/MainContent/index.vue index a2185dcd..9131e091 100644 --- a/ui/src/components/Kubernetes/MainContent/index.vue +++ b/ui/src/components/Kubernetes/MainContent/index.vue @@ -24,14 +24,15 @@ @@ -16,7 +16,7 @@