From 5aeddbd026223853f0d8d18445bbeb5dae0cf940 Mon Sep 17 00:00:00 2001 From: handsomewu <562390063@qq.com> Date: Wed, 13 Nov 2024 15:12:45 +0800 Subject: [PATCH] add topology img --- package.json | 1 + src/views/dashboard/admin/index.vue | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/package.json b/package.json index 02f68e23..c559b2b5 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "script-loader": "0.7.2", "sortablejs": "1.8.4", "tui-editor": "1.3.3", + "vis-network": "^9.1.9", "vue": "2.6.10", "vue-count-to": "1.0.13", "vue-router": "3.0.2", diff --git a/src/views/dashboard/admin/index.vue b/src/views/dashboard/admin/index.vue index e6d85363..3140ef9a 100644 --- a/src/views/dashboard/admin/index.vue +++ b/src/views/dashboard/admin/index.vue @@ -14,6 +14,11 @@ + @@ -74,6 +79,7 @@ export default { }) .catch(error => console.error('Error fetching table data:', error)) } + } }