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

菜单管理字段修改

parent 43922cbb
...@@ -44,7 +44,6 @@ export const DictRoute: AppRouteRecordRaw = { ...@@ -44,7 +44,6 @@ export const DictRoute: AppRouteRecordRaw = {
meta: { meta: {
title: '字典管理', title: '字典管理',
icon: '', icon: '',
hidden: true,
currentActiveMenu: '/system/dict', currentActiveMenu: '/system/dict',
}, },
children: [ children: [
...@@ -53,6 +52,7 @@ export const DictRoute: AppRouteRecordRaw = { ...@@ -53,6 +52,7 @@ export const DictRoute: AppRouteRecordRaw = {
name: 'Data', name: 'Data',
component: () => import('@/views/system/dict/data/index.vue'), component: () => import('@/views/system/dict/data/index.vue'),
meta: { meta: {
hideMenu: true,
title: '字典数据', title: '字典数据',
icon: '', icon: '',
}, },
...@@ -66,7 +66,6 @@ export const mainBodyRoute: AppRouteRecordRaw = { ...@@ -66,7 +66,6 @@ export const mainBodyRoute: AppRouteRecordRaw = {
meta: { meta: {
title: '主体管理', title: '主体管理',
icon: '', icon: '',
hidden: true,
currentActiveMenu: '/mainBody/index', currentActiveMenu: '/mainBody/index',
}, },
children: [ children: [
......
...@@ -216,8 +216,8 @@ export const formSchema: FormSchema[] = [ ...@@ -216,8 +216,8 @@ export const formSchema: FormSchema[] = [
defaultValue: '0', defaultValue: '0',
componentProps: { componentProps: {
options: [ options: [
{ label: '显示', value: '1' }, { label: '显示', value: '0' },
{ label: '隐藏', value: '0' }, { label: '隐藏', value: '1' },
], ],
}, },
ifShow: ({ values }) => !isButton(values.menuType), 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