Commit 67ed4d22 authored by 张伯涛's avatar 张伯涛

菜单管理字段修改

parent 43922cbb
......@@ -44,7 +44,6 @@ export const DictRoute: AppRouteRecordRaw = {
meta: {
title: '字典管理',
icon: '',
hidden: true,
currentActiveMenu: '/system/dict',
},
children: [
......@@ -53,6 +52,7 @@ export const DictRoute: AppRouteRecordRaw = {
name: 'Data',
component: () => import('@/views/system/dict/data/index.vue'),
meta: {
hideMenu: true,
title: '字典数据',
icon: '',
},
......@@ -66,7 +66,6 @@ export const mainBodyRoute: AppRouteRecordRaw = {
meta: {
title: '主体管理',
icon: '',
hidden: true,
currentActiveMenu: '/mainBody/index',
},
children: [
......
......@@ -216,8 +216,8 @@ export const formSchema: FormSchema[] = [
defaultValue: '0',
componentProps: {
options: [
{ label: '显示', value: '1' },
{ label: '隐藏', value: '0' },
{ label: '显示', value: '0' },
{ label: '隐藏', value: '1' },
],
},
ifShow: ({ values }) => !isButton(values.menuType),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment