Support menu team.

pull/40/head
ruibaby 2019-08-28 08:05:18 +08:00
parent 7da2f730eb
commit 8aa2d5119f
2 changed files with 15 additions and 3 deletions

View File

@ -204,12 +204,12 @@
<a href="javascript:;">删除</a>
</a-popconfirm>
<a-divider type="vertical" />
<!-- <a-divider type="vertical" />
<a
href="javascript:;"
@click="handleShowDetailDrawer(record)"
>详情</a>
>详情</a> -->
</span>
</a-table>
<div class="page-wrapper">

View File

@ -42,6 +42,12 @@
>
<a-input v-model="menuToCreate.icon" />
</a-form-item>
<a-form-item
label="分组:"
:style="{ display: fieldExpand ? 'block' : 'none' }"
>
<a-input v-model="menuToCreate.team" />
</a-form-item>
<a-form-item
label="打开方式:"
:style="{ display: fieldExpand ? 'block' : 'none' }"
@ -141,6 +147,10 @@ const columns = [
title: '地址',
dataIndex: 'url'
},
{
title: '分组',
dataIndex: 'team'
},
{
title: '排序',
dataIndex: 'priority'
@ -159,7 +169,9 @@ export default {
loading: false,
columns,
menus: [],
menuToCreate: {},
menuToCreate: {
target: '_self'
},
fieldExpand: false
}
},