未验证 提交 15dbace6 编写于 作者: R RotPublic 提交者: GitHub

Compatible with the original static image mode

上级 5b9dacfc
......@@ -186,11 +186,6 @@ const Graph: FunctionComponent = () => {
const [rendered, setRendered] = useState(false);
const content = (runs: string) => {
return <div>{runs}</div>;
// return (<p>Content</p>)
};
const aside = useMemo(() => {
if (!rendered) {
return null;
......@@ -318,6 +313,7 @@ const Graph: FunctionComponent = () => {
t,
bottom,
search,
runs,
searching,
searchResult,
selectedRuns,
......
......@@ -117,7 +117,7 @@ const Graph: FunctionComponent = () => {
[setModelFile]
);
const {data, loading} = useRequest<BlobResponse>(files ? null : '/graph/graph');
const {data, loading} = useRequest<BlobResponse>(files ? null : '/graph/static_graph');
useEffect(() => {
if (data?.data?.size) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册