diff --git a/public/default/config.js b/public/default/config.js index e4a721c0..0e18d981 100644 --- a/public/default/config.js +++ b/public/default/config.js @@ -13,7 +13,7 @@ // host = ip:port const host = '192.168.8.100:3030'; - // Service Address 服务地址 + // Service Address sessionStorage.setItem('baseUrl', `http://${host}`); // websocket Address sessionStorage.setItem('wsUrl', `ws://${host}`); diff --git a/src/views/monitor/topologyArchitecture/index.vue b/src/views/monitor/topologyArchitecture/index.vue index 6d647dd8..6b1c4ebf 100644 --- a/src/views/monitor/topologyArchitecture/index.vue +++ b/src/views/monitor/topologyArchitecture/index.vue @@ -181,6 +181,7 @@ function handleRanderGraph( width: clientWidth, height: clientHeight, fitCenter: true, + fitView: true, modes: { default: [ 'drag-combo',