This commit is contained in:
liyuanhu 2025-04-22 17:39:24 +08:00
parent bd6f658c73
commit 98a4e9b388
3 changed files with 7 additions and 8 deletions

2
.env
View File

@ -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

View File

@ -37,11 +37,11 @@ export default function Layout() {
title: "面向溯源对抗的数据转发",
icon: <PoolSvg className="w-5 h-5" />,
},
{
id: 'proxies',
title: '节点池',
icon: <PoolSvg className="w-5 h-5" />,
},
// {
// id: 'proxies',
// title: '节点池',
// icon: <PoolSvg className="w-5 h-5" />,
// },
];
const handleClickMenu = (index: number) => {

View File

@ -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) {