Compare commits

..

No commits in common. "98a4e9b388b6b8f8b5e38ce0cc7a01d5d4ccc500" and "fae2e8e7eca8c3eab0d29bdb2a1647940cfee447" have entirely different histories.

5 changed files with 9 additions and 11 deletions

4
.env
View File

@ -4,7 +4,5 @@ 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:8080" VITE_BASE_URL="http://10.66.66.234:6060"
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
# $env:NODE_OPTIONS="--max-old-space-size=8192"; pnpm run web:build

BIN
dist.zip

Binary file not shown.

View File

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

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,6 +17,7 @@ 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";
@ -74,7 +75,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) {