Compare commits

...

2 Commits

Author SHA1 Message Date
liyuanhu
98a4e9b388 fix:bug 2025-04-22 17:39:24 +08:00
liyuanhu
bd6f658c73 fix:打包配置 2025-04-22 16:27:08 +08:00
5 changed files with 11 additions and 9 deletions

6
.env
View File

@ -4,5 +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_BLOCK_URL="http://10.66.66.234:1317"
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

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -5,6 +5,7 @@
"build": {
"beforeDevCommand": "pnpm web:dev",
"devUrl": "http://127.0.0.1:1420",
"beforeBuildCommand": "pnpm web:build",
"frontendDist": "../dist"
},
"app": {

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