From e2be8d2e5467cb1b8d8a48796f8dc71c978a19f8 Mon Sep 17 00:00:00 2001 From: Fine Date: Sun, 26 Nov 2023 19:29:23 +0800 Subject: [PATCH] fix: style --- .../network-profiling/components/ProcessTopology.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue b/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue index dea866d6..eba0abc8 100644 --- a/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue +++ b/src/views/dashboard/related/network-profiling/components/ProcessTopology.vue @@ -40,7 +40,12 @@ limitations under the License. --> :x="(node.x || 0) - 15" :y="(node.y || 0) - 15" /> - + {{ node.name.length > 10 ? `${node.name.substring(0, 10)}...` : node.name }} @@ -122,6 +127,7 @@ limitations under the License. --> import TimeLine from "./TimeLine.vue"; import { useAppStoreWithOut } from "@/store/modules/app"; import icons from "@/assets/img/icons"; + import { Themes } from "@/constants/data"; /*global Nullable, defineProps */ const props = defineProps({