Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
roncoo
roncoo-education-admin
提交
6412e9a3
R
roncoo-education-admin
项目概览
roncoo
/
roncoo-education-admin
10 个月 前同步成功
通知
47
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roncoo-education-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
6412e9a3
编写于
6月 05, 2023
作者:
F
fengyw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化配置
上级
7394ea92
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
2 addition
and
7 deletion
+2
-7
src/views/system/config/index.vue
src/views/system/config/index.vue
+0
-3
src/views/system/config/list.vue
src/views/system/config/list.vue
+1
-3
vite.config.js
vite.config.js
+1
-1
未找到文件。
src/views/system/config/index.vue
浏览文件 @
6412e9a3
...
...
@@ -9,9 +9,6 @@
<el-tab-pane
label=
"站点设置"
name=
"1"
>
<List
:list=
"list"
@
reset=
"handleReset"
></List>
</el-tab-pane>
<el-tab-pane
label=
"系统设置"
name=
"2"
>
<List
:list=
"list"
@
reset=
"handleReset"
></List>
</el-tab-pane>
<el-tab-pane
label=
"视频设置"
name=
"3"
>
<List
:list=
"list"
@
reset=
"handleReset"
></List>
</el-tab-pane>
...
...
src/views/system/config/list.vue
浏览文件 @
6412e9a3
...
...
@@ -10,9 +10,7 @@
<el-table-column
label=
"参数"
>
<
template
#default=
"scope"
>
<span
v-if=
"(scope.row.contentType === 1 || scope.row.contentType === 2) && scope.row.configShow"
>
{{
scope
.
row
.
configValue
}}
</span>
<el-button
v-if=
"(scope.row.contentType === 1 || scope.row.contentType === 2) && !scope.row.configShow"
type=
"text"
@
click=
"openRow(scope.row)"
>
【点击查看详情】
</el-button>
<el-button
v-if=
"(scope.row.contentType === 1 || scope.row.contentType === 2) && !scope.row.configShow"
type=
"text"
@
click=
"openRow(scope.row)"
>
【点击查看详情】
</el-button>
<img
v-if=
"scope.row.contentType === 3"
:alt=
"scope.row.configName"
:src=
"scope.row.configValue"
class=
"list_avatar"
/>
<span
v-if=
"scope.row.contentType === 4"
>
{{
scope
.
row
.
configValue
==
1
?
'
开启
'
:
'
关闭
'
}}
</span>
<span
v-if=
"scope.row.contentType === 5 && scope.row.configKey === 'storagePlatform'"
>
{{
storagePlatformEnum
?
storagePlatformEnum
[
scope
.
row
.
configValue
]
:
''
}}
</span>
...
...
vite.config.js
浏览文件 @
6412e9a3
...
...
@@ -41,7 +41,7 @@ export default defineConfig({
port
:
9528
,
// 服务端口
proxy
:
{
// 代理
'
/gateway
'
:
{
target
:
'
http
s://dev-os.roncoos.com/gateway/
'
,
target
:
'
http
://localhost:8180
'
,
changeOrigin
:
true
,
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
gateway/
,
''
)
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录