提交 6412e9a3 编写于 作者: F fengyw

优化配置

上级 7394ea92
......@@ -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>
......
......@@ -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>
......
......@@ -41,7 +41,7 @@ export default defineConfig({
port: 9528, // 服务端口
proxy: { // 代理
'/gateway': {
target: 'https://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.
先完成此消息的编辑!
想要评论请 注册