From f7cd8f8cbc006c8e5568820bdab01068cfb394f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Fri, 5 Jan 2024 14:01:19 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.9.42310.01-=E8=96=AA=E8=B5=84?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=8B=93=E6=89=91=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/salaryItemFlowGraph/index.less | 6 ++++++ src/pages/salaryItemFlowGraph/index.tsx | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/pages/salaryItemFlowGraph/index.less b/src/pages/salaryItemFlowGraph/index.less index 3156b89..489259b 100644 --- a/src/pages/salaryItemFlowGraph/index.less +++ b/src/pages/salaryItemFlowGraph/index.less @@ -16,6 +16,12 @@ } } +:global { + .relation-graph .rel-toolbar-h { + width: auto !important; + } +} + .rootNode { width: 100%; height: 100%; diff --git a/src/pages/salaryItemFlowGraph/index.tsx b/src/pages/salaryItemFlowGraph/index.tsx index cefe29d..8dea560 100644 --- a/src/pages/salaryItemFlowGraph/index.tsx +++ b/src/pages/salaryItemFlowGraph/index.tsx @@ -87,8 +87,13 @@ const Index: React.FC = () => { defaultExpandHolderColor: "rgba(0, 206, 209, 1)", defaultNodeColor: "transparent", defaultNodeBorderColor: "#333", - allowShowMiniToolBar: false, //工具栏展示与否 - // disableZoom: true, + allowShowMiniToolBar: true, //工具栏展示与否 + toolBarDirection: 'h', + toolBarPositionH: 'right', + toolBarPositionV: 'top', + allowShowFullscreenMenu: false, + allowShowDownloadButton: false, + disableZoom: true, disableDragNode: true, }; }, []);