Skip to content

Commit 748613a

Browse files
committed
add: config
1 parent 47211e1 commit 748613a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

admin/src/router/router.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export const routeSuper = [
137137
{
138138
path: 'config',
139139
name: '配置管理',
140-
component: () => import('@/views/lines/index'),
140+
component: () => import('@/views/config/index'),
141141
meta: { title: '配置列表', icon: 'table', roles: [Super] }
142142
},
143143
{

admin/src/views/config/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
<el-input v-model="form.name"/>
66
</el-form-item>
77
<el-form-item label="开启新老接口" prop="default_open">
8-
<el-input v-model="form.default_open"/>开启公交配置情况--【1: 老接口,2: 新接口,3: 先老接口再新接口,4: 先新接口后老接口】
8+
<el-col :span="4">
9+
<el-input v-model="form.default_open"/>
10+
</el-col>
11+
<el-col :span="20">&nbsp;开启公交配置情况--【1: 老接口,2: 新接口,3: 先老接口再新接口,4: 先新接口后老接口】</el-col>
912
</el-form-item>
1013
<el-form-item label="是否启用">
1114
<el-switch v-model="form.state"/>

0 commit comments

Comments
 (0)