docs
This commit is contained in:
parent
627b718d51
commit
3e2cf300dd
|
@ -97,7 +97,17 @@ export const asyncRoutes = [
|
|||
name: 'Dict',
|
||||
component: () => import('@/views/system/dict'),
|
||||
meta: { title: '数据字典', icon: 'example', perms: ['dict_manage'] }
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'external-link',
|
||||
component: Layout,
|
||||
children: [
|
||||
{
|
||||
path: process.env.VUE_APP_BASE_API + '/docs/',
|
||||
meta: { title: '接口文档', icon: 'link', perms: ['docs'] }
|
||||
}
|
||||
]
|
||||
},
|
||||
]
|
||||
},
|
||||
// 404 page must be placed at the end !!!
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<el-card>
|
||||
<div slot="header" class="clearfix">
|
||||
<span>字典类型</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text" icon="el-icon-plus" @click="handleAddDictType" >新增</el-button>
|
||||
<el-button v-if="checkPermission(['dicttype_add'])" style="float: right; padding: 3px 0" type="text" icon="el-icon-plus" @click="handleAddDictType" >新增</el-button>
|
||||
</div>
|
||||
|
||||
<el-tree
|
||||
|
@ -26,6 +26,7 @@
|
|||
<el-button
|
||||
type="text"
|
||||
size="mini"
|
||||
v-if="checkPermission(['dicttype_delete'])"
|
||||
@click="handleEditDictType(data)">
|
||||
编辑
|
||||
</el-button>
|
||||
|
|
|
@ -233,7 +233,7 @@ export default {
|
|||
},
|
||||
myHeaders: { Authorization: 'JWT ' + getToken() },
|
||||
uploadUrl: uploadUrl(),
|
||||
userList: [],
|
||||
userList: {count:0},
|
||||
roles: [],
|
||||
listLoading: true,
|
||||
listQuery: {
|
||||
|
|
Loading…
Reference in New Issue