diff --git a/src/store/modules/dashboard.ts b/src/store/modules/dashboard.ts index 30a465c4..64727a09 100644 --- a/src/store/modules/dashboard.ts +++ b/src/store/modules/dashboard.ts @@ -92,8 +92,7 @@ export const dashboardStore = defineStore({ ]; } if (type === "Topology") { - newItem.w = 4; - newItem.h = 6; + newItem.h = 36; newItem.graph = { fontColor: "white", backgroundColor: "green", diff --git a/src/views/dashboard/Edit.vue b/src/views/dashboard/Edit.vue index 3da6c974..002e8119 100644 --- a/src/views/dashboard/Edit.vue +++ b/src/views/dashboard/Edit.vue @@ -27,17 +27,7 @@ limitations under the License. --> :destroy-on-close="true" @closed="dashboardStore.setConfigPanel(false)" > - - - - - + @@ -48,8 +38,6 @@ import { useRoute } from "vue-router"; import GridLayout from "./panel/Layout.vue"; import Tool from "./panel/Tool.vue"; import Widget from "./configuration/Widget.vue"; -import TopologyConfig from "./configuration/Topology.vue"; -import Topology from "./related/topology/Index.vue"; import { useDashboardStore } from "@/store/modules/dashboard"; import { useAppStoreWithOut } from "@/store/modules/app"; diff --git a/src/views/dashboard/List.vue b/src/views/dashboard/List.vue index 08f03777..02d4edcb 100644 --- a/src/views/dashboard/List.vue +++ b/src/views/dashboard/List.vue @@ -122,7 +122,6 @@ import router from "@/router"; import { DashboardItem } from "@/types/dashboard"; import { saveFile, readFile } from "@/utils/file"; import { EntityType } from "./data"; -import { findLastKey } from "lodash"; /*global Nullable*/ const { t } = useI18n(); diff --git a/src/views/dashboard/configuration/Topology.vue b/src/views/dashboard/configuration/Topology.vue deleted file mode 100644 index cfd87a7a..00000000 --- a/src/views/dashboard/configuration/Topology.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - diff --git a/src/views/dashboard/configuration/topology/StyleOptions.vue b/src/views/dashboard/configuration/topology/StyleOptions.vue deleted file mode 100644 index 52f73ea9..00000000 --- a/src/views/dashboard/configuration/topology/StyleOptions.vue +++ /dev/null @@ -1,151 +0,0 @@ - - - - diff --git a/src/views/dashboard/controls/Tab.vue b/src/views/dashboard/controls/Tab.vue index 90f35349..bb77acd2 100644 --- a/src/views/dashboard/controls/Tab.vue +++ b/src/views/dashboard/controls/Tab.vue @@ -97,6 +97,7 @@ limitations under the License. --> :key="item.i" @click="clickTabGrid($event, item)" :class="{ active: activeTabWidget === item.i }" + drag-ignore-from="svg.d3-trace-tree, .dragger, .micro-topo-chart" >