|
@@ -1,10 +1,9 @@
|
|
|
<template>
|
|
|
- <a-card :bordered="false">
|
|
|
+ <a-card :bordered="false" :bodyStyle="{overflowY: 'auto'}">
|
|
|
<a-row :gutter="24">
|
|
|
<a-button style="margin-right: 10px;" type="primary" icon="plus" @click="addChild">添加子菜单</a-button>
|
|
|
<a-button style="margin-right: 10px;background-color: #19be6b;color: #fff;" type="" icon="plus" @click="addTitle">添加顶部菜单</a-button>
|
|
|
<a-button style="margin-right: 10px;background-color: red;color: #fff;" type="" icon="delete" @click="delect()">删除</a-button>
|
|
|
-
|
|
|
</a-row>
|
|
|
<a-row :gutter="24">
|
|
|
<!-- 左侧菜单树列表 -->
|
|
@@ -13,7 +12,6 @@
|
|
|
<a-icon type="info-circle" style="color: #1890FF;margin-right: 10px;" />
|
|
|
<span>当前选择:<span style="color: #40a9ff;font-weight: 600;">{{ selectedMenu }}</span><span v-if="selectedKeys.length" class="imgSize" @click="cancelSel">取消选择</span></span>
|
|
|
</a-row>
|
|
|
-
|
|
|
<a-row :gutter="24" >
|
|
|
<a-input-search placeholder="输入搜索菜单名搜索" style="width: 100%" @change="onChange" />
|
|
|
<a-tree
|
|
@@ -49,7 +47,6 @@
|
|
|
<a-icon type="pushpin" style="margin-right: 10px;" /><span >操作按钮</span>
|
|
|
</div>
|
|
|
</a-form-item>
|
|
|
-
|
|
|
<!-- 名称 -->
|
|
|
<a-form-item label="名称" :label-col="{ span: 5 }" :wrapper-col="{ span: 14 }">
|
|
|
<a-input
|