update 菜单完善
This commit is contained in:
@@ -94,8 +94,11 @@
|
||||
<a-form-model-item label="权限标识" prop="permission" v-if="form.type == 2">
|
||||
<a-input placeholder="请输入权限标识" v-model="form.permission" />
|
||||
</a-form-model-item>
|
||||
<a-form-model-item label="关联上级菜单显示" prop="visibleParent" v-if="form.type == 2">
|
||||
<a-switch v-model="form.visibleParent" />
|
||||
</a-form-model-item>
|
||||
<a-form-model-item label="可见性">
|
||||
<a-switch checked-children="可见" un-checked-children="隐藏" v-model="form.visible" />
|
||||
<a-switch v-model="form.visible" />
|
||||
</a-form-model-item>
|
||||
<!-- 图标只有[按钮]不可用 -->
|
||||
<a-form-model-item label="图标" v-if="form.type != 2">
|
||||
@@ -132,6 +135,7 @@ const defaultValue = {
|
||||
type: '1',
|
||||
openType: '1',
|
||||
weight: '1',
|
||||
visibleParent: false,
|
||||
visible: true,
|
||||
sort: 100,
|
||||
};
|
||||
|
||||
@@ -69,8 +69,8 @@ export default {
|
||||
});
|
||||
},
|
||||
|
||||
onSelect(a1, a2) {
|
||||
this.selectedKeys = a2;
|
||||
onSelect(a1, a2, a3) {
|
||||
this.selectedKeys = a3;
|
||||
},
|
||||
|
||||
onOk() {
|
||||
|
||||
Reference in New Issue
Block a user