From 98a4e9b388b6b8f8b5e38ce0cc7a01d5d4ccc500 Mon Sep 17 00:00:00 2001 From: liyuanhu Date: Tue, 22 Apr 2025 17:39:24 +0800 Subject: [PATCH] fix:bug --- .env | 2 +- src/layout/index.tsx | 10 +++++----- src/pages/decentralized-lastic-network/index.tsx | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.env b/.env index 2854441..01186b2 100644 --- a/.env +++ b/.env @@ -4,7 +4,7 @@ COSMOS_ENDPOINT="http://10.66.66.234:26657" ACCOUNT_NAME="ccvdexre" NODE_SECRET= "initial typical business width enforce buddy magic country piano head cable blossom gate caught disagree pepper moral pair vessel protect mixture deposit artwork liquid" VIET_EVENTS_URL="ws://10.66.66.234:8080/events" -VITE_BASE_URL="http://10.66.66.234:6060" +VITE_BASE_URL="http://10.66.66.234:8080" VITE_BLOCK_URL="http://10.66.66.234:1317" NODE_OPTIONS=--max-old-space-size=8192 # $env:NODE_OPTIONS="--max-old-space-size=8192"; pnpm run web:build diff --git a/src/layout/index.tsx b/src/layout/index.tsx index c6e0c93..e75bd8e 100644 --- a/src/layout/index.tsx +++ b/src/layout/index.tsx @@ -37,11 +37,11 @@ export default function Layout() { title: "面向溯源对抗的数据转发", icon: , }, - { - id: 'proxies', - title: '节点池', - icon: , - }, + // { + // id: 'proxies', + // title: '节点池', + // icon: , + // }, ]; const handleClickMenu = (index: number) => { diff --git a/src/pages/decentralized-lastic-network/index.tsx b/src/pages/decentralized-lastic-network/index.tsx index 024e44b..6f97573 100644 --- a/src/pages/decentralized-lastic-network/index.tsx +++ b/src/pages/decentralized-lastic-network/index.tsx @@ -17,7 +17,6 @@ import { cn } from "@/lib/utils"; import eventBus, { eventTypes } from "@/utils/eventBus"; import { setProxyInfoProxies, - setProxiesList2, setProxiesLine, } from "@/store/web3Slice"; import type { AppDispatch, RootState } from "@/store"; @@ -75,7 +74,7 @@ const DecentralizedElasticNetwork = () => { const formValue: any = form.getFieldsValue(); if (type.title === DIALOGTYPE.ADDNode.title) { eventBus.emit(eventTypes.NODE_INIT, {}); - // setOpen(false); + setOpen(false); } else { const { inbound, outbound } = formValue || {}; if (inbound && outbound) {