feature/2.9.42310.01-薪资项目拓扑图
This commit is contained in:
parent
52a45f38b3
commit
e075344bca
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
import React, { FunctionComponent, useEffect, useMemo, useState } from "react";
|
||||
import { Menu } from "antd";
|
||||
import { FundFlowGraph } from "@ant-design/graphs";
|
||||
// import { FundFlowGraph } from "@ant-design/graphs";
|
||||
import { exceptStr } from "@/utils/common";
|
||||
import { extractTree } from "@/pages/salaryItemDiagram";
|
||||
import styles from "./index.less";
|
||||
|
|
@ -161,7 +161,8 @@ const index: FunctionComponent<Props> = (props) => {
|
|||
// fitCenter: true
|
||||
};
|
||||
}, [nodes, edges]);
|
||||
return ((!_.isEmpty(nodes) && !_.isEmpty(edges)) ? <FundFlowGraph {...config} /> : null);
|
||||
// <FundFlowGraph {...config} />
|
||||
return ((!_.isEmpty(nodes) && !_.isEmpty(edges)) ? <div></div> : null);
|
||||
};
|
||||
|
||||
export default index;
|
||||
|
|
|
|||
Loading…
Reference in New Issue