端口修改

This commit is contained in:
2025-12-15 14:50:29 +08:00
parent 302173f623
commit 3767150fd6
16 changed files with 52 additions and 52 deletions

View File

@@ -4,9 +4,9 @@
"type": "module",
"private": true,
"scripts": {
"dev": "vite --port 5001 --host",
"dev": "vite --host",
"build": "vue-tsc && vite build",
"preview": "vite preview --port 5001"
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.5.13",

View File

@@ -25,14 +25,14 @@ const menuItems: MenuItem[] = [
key: 'bidding',
label: '招标助手',
icon: 'Document',
iframeUrl: 'http://localhost:5002',
iframeUrl: 'http://localhost:7002',
type: 'iframe'
},
{
key: 'service',
label: '泰豪小电',
icon: 'Service',
iframeUrl: 'http://localhost:5003',
iframeUrl: 'http://localhost:7003',
type: 'iframe'
},
{
@@ -100,12 +100,12 @@ interface MenuItem {
### 1. 招标助手 (Bidding)
- **端口**5002
- **URL**http://localhost:5002
- **URL**http://localhost:7002
- **说明**:招投标业务管理系统
### 2. 泰豪小电 (Service)
- **端口**5003
- **URL**http://localhost:5003
- **URL**http://localhost:7003
- **说明**:智能客服工单管理系统
### 3. 智能体编排 (Workflow)
@@ -165,7 +165,7 @@ interface MenuItem {
# nginx 配置
add_header X-Frame-Options "SAMEORIGIN";
# 或者
add_header Content-Security-Policy "frame-ancestors 'self' http://localhost:5001";
add_header Content-Security-Policy "frame-ancestors 'self' http://localhost:7001";
```
2. **端口配置**:确保对应服务已启动
@@ -188,7 +188,7 @@ interface MenuItem {
key: 'new-app',
label: '新应用',
icon: 'Plus',
iframeUrl: 'http://localhost:5004',
iframeUrl: 'http://localhost:7004',
type: 'iframe'
}
```

View File

@@ -25,14 +25,14 @@ const menuItems: MenuItem[] = [
key: 'bidding',
label: '招标助手',
icon: 'Document',
iframeUrl: 'http://localhost:5002',
iframeUrl: 'http://localhost:7002',
type: 'iframe'
},
{
key: 'service',
label: '泰豪小电',
icon: 'Service',
iframeUrl: 'http://localhost:5003',
iframeUrl: 'http://localhost:7003',
type: 'iframe'
},
{
@@ -100,12 +100,12 @@ interface MenuItem {
### 1. 招标助手 (Bidding)
- **端口**5002
- **URL**http://localhost:5002
- **URL**http://localhost:7002
- **说明**:招投标业务管理系统
### 2. 泰豪小电 (Service)
- **端口**5003
- **URL**http://localhost:5003
- **URL**http://localhost:7003
- **说明**:智能客服工单管理系统
### 3. 智能体编排 (Workflow)
@@ -165,7 +165,7 @@ interface MenuItem {
# nginx 配置
add_header X-Frame-Options "SAMEORIGIN";
# 或者
add_header Content-Security-Policy "frame-ancestors 'self' http://localhost:5001";
add_header Content-Security-Policy "frame-ancestors 'self' http://localhost:7001";
```
2. **端口配置**:确保对应服务已启动
@@ -188,7 +188,7 @@ interface MenuItem {
key: 'new-app',
label: '新应用',
icon: 'Plus',
iframeUrl: 'http://localhost:5004',
iframeUrl: 'http://localhost:7004',
type: 'iframe'
}
```

View File

@@ -26,7 +26,7 @@ export default defineConfig({
shared: {
type: 'module',
name: 'shared',
entry: 'http://localhost:5000/remoteEntry.js'
entry: 'http://localhost:7000/remoteEntry.js'
}
},
shared: {
@@ -51,7 +51,7 @@ export default defineConfig({
},
server: {
port: 5001,
port: 7001,
host: true,
cors: true,
open: '/', // 开发时自动打开到根路径