From 3c79e45f4a4db8f866e4b04faa05567e9100d650 Mon Sep 17 00:00:00 2001 From: Qiuxia Fan Date: Sat, 19 Feb 2022 20:33:16 +0800 Subject: [PATCH] fix: update settings --- src/store/data.ts | 4 ++-- .../dashboard/configuration/Topology.vue | 2 +- .../{Topology.vue => TopologyItem.vue} | 20 +++++++++---------- src/views/dashboard/controls/Topology.vue | 16 +++++++++++---- src/views/dashboard/controls/Widget.vue | 14 +++++++------ 5 files changed, 33 insertions(+), 23 deletions(-) rename src/views/dashboard/configuration/graph-styles/{Topology.vue => TopologyItem.vue} (86%) diff --git a/src/store/data.ts b/src/store/data.ts index d0b37e53..7230fb11 100644 --- a/src/store/data.ts +++ b/src/store/data.ts @@ -105,7 +105,7 @@ export const ConfigData3: any = [ { x: 0, y: 0, - w: 2, + w: 4, h: 6, i: "1", type: "Topology", @@ -122,7 +122,7 @@ export const ConfigData3: any = [ }, }, { - x: 2, + x: 4, y: 0, w: 8, h: 12, diff --git a/src/views/dashboard/configuration/Topology.vue b/src/views/dashboard/configuration/Topology.vue index 80062e64..5cb5ead9 100644 --- a/src/views/dashboard/configuration/Topology.vue +++ b/src/views/dashboard/configuration/Topology.vue @@ -27,7 +27,7 @@ limitations under the License. -->