Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
adminCenter
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
刘旭
adminCenter
Commits
fa3d44fd
提交
fa3d44fd
authored
3月 24, 2025
作者:
Administrator
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新代码
上级
b05ead2c
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
21 行增加
和
20 行删除
+21
-20
.gitignore
.gitignore
+1
-0
webApi.ts
src/api/webApi.ts
+1
-1
aside.vue
src/layout/components/aside.vue
+1
-1
menuList.ts
src/layout/uilts/menuList.ts
+16
-16
vite.config.ts
vite.config.ts
+2
-2
没有找到文件。
.gitignore
浏览文件 @
fa3d44fd
...
@@ -6,6 +6,7 @@ yarn-debug.log*
...
@@ -6,6 +6,7 @@ yarn-debug.log*
yarn-error.log*
yarn-error.log*
pnpm-debug.log*
pnpm-debug.log*
lerna-debug.log*
lerna-debug.log*
dist
node_modules
node_modules
.DS_Store
.DS_Store
...
...
src/api/webApi.ts
浏览文件 @
fa3d44fd
import
request
from
'./config'
import
request
from
'./config'
let
baseUrl
=
location
.
origin
let
baseUrl
=
location
.
origin
// let baseUrl = 'http://192.168.1.
67:8003'
// let baseUrl = 'http://192.168.1.
160:8003'
let
newPort
=
'8003'
let
newPort
=
'8003'
baseUrl
=
baseUrl
.
replace
(
/:
\d
+/
,
':'
+
newPort
)
baseUrl
=
baseUrl
.
replace
(
/:
\d
+/
,
':'
+
newPort
)
...
...
src/layout/components/aside.vue
浏览文件 @
fa3d44fd
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
text-color=
"#fff"
text-color=
"#fff"
router
router
>
>
<el-menu-item
v-for=
"item in menuList"
:
index=
"item.index"
:route=
"item.path"
>
<el-menu-item
v-for=
"item in menuList"
:
key=
"item.index"
:index=
"item.index"
:route=
"item.path"
>
<span>
{{
item
.
name
}}
</span>
<span>
{{
item
.
name
}}
</span>
</el-menu-item>
</el-menu-item>
</el-menu>
</el-menu>
...
...
src/layout/uilts/menuList.ts
浏览文件 @
fa3d44fd
...
@@ -14,24 +14,24 @@ export const menuList = [
...
@@ -14,24 +14,24 @@ export const menuList = [
path
:
'/imageManagement'
,
path
:
'/imageManagement'
,
name
:
'容器管理'
name
:
'容器管理'
},
},
// {
{
// index: 4,
index
:
4
,
// path: '/jarManagement',
path
:
'/jarManagement'
,
// name: 'jar包管理'
name
:
'jar包管理'
// },
},
// {
{
// index: 5,
index
:
5
,
// path: '/execute',
path
:
'/execute'
,
// name: '执行计划'
name
:
'执行计划'
// },
},
// {
{
// index: 6,
index
:
6
,
// path: '/syncConfig',
path
:
'/syncConfig'
,
// name: '产品管理'
name
:
'产品管理'
// },
},
{
{
index
:
7
,
index
:
7
,
path
:
'/systemBackup'
,
path
:
'/systemBackup'
,
name
:
'系统备份'
name
:
'系统备份'
}
}
]
]
as
any
vite.config.ts
浏览文件 @
fa3d44fd
...
@@ -52,10 +52,10 @@ export default defineConfig({
...
@@ -52,10 +52,10 @@ export default defineConfig({
// 设置代理
// 设置代理
proxy
:
{
proxy
:
{
'/admin'
:
{
'/admin'
:
{
target
:
'http://192.168.1.16
1
:8080/'
target
:
'http://192.168.1.16
0
:8080/'
},
},
'/webApi'
:
{
'/webApi'
:
{
target
:
'http://192.168.1.16
1
:8003/'
target
:
'http://192.168.1.16
0
:8003/'
}
}
}
}
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论