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" 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" 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" 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" VITE_BLOCK_URL="http://10.66.66.234:1317"
NODE_OPTIONS=--max-old-space-size=8192 NODE_OPTIONS=--max-old-space-size=8192
# $env:NODE_OPTIONS="--max-old-space-size=8192"; pnpm run web:build # $env:NODE_OPTIONS="--max-old-space-size=8192"; pnpm run web:build

View File

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

View File

@ -17,7 +17,6 @@ import { cn } from "@/lib/utils";
import eventBus, { eventTypes } from "@/utils/eventBus"; import eventBus, { eventTypes } from "@/utils/eventBus";
import { import {
setProxyInfoProxies, setProxyInfoProxies,
setProxiesList2,
setProxiesLine, setProxiesLine,
} from "@/store/web3Slice"; } from "@/store/web3Slice";
import type { AppDispatch, RootState } from "@/store"; import type { AppDispatch, RootState } from "@/store";
@ -75,7 +74,7 @@ const DecentralizedElasticNetwork = () => {
const formValue: any = form.getFieldsValue(); const formValue: any = form.getFieldsValue();
if (type.title === DIALOGTYPE.ADDNode.title) { if (type.title === DIALOGTYPE.ADDNode.title) {
eventBus.emit(eventTypes.NODE_INIT, {}); eventBus.emit(eventTypes.NODE_INIT, {});
// setOpen(false); setOpen(false);
} else { } else {
const { inbound, outbound } = formValue || {}; const { inbound, outbound } = formValue || {};
if (inbound && outbound) { if (inbound && outbound) {