Commit 90f72223 authored by XieZhiXiong's avatar XieZhiXiong

chore: 会员品类只展示一级

parent 739c37f5
...@@ -126,7 +126,7 @@ export const schema: ISchema = { ...@@ -126,7 +126,7 @@ export const schema: ISchema = {
title: intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.category' }), title: intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.category' }),
'x-component': 'CascaderFormItem', 'x-component': 'CascaderFormItem',
'x-component-props': { 'x-component-props': {
fieldNames: { label: 'title', value: 'id', children: 'children' }, fieldNames: { label: 'title', value: 'id', children: '123' }, // 这里的 '123' 是故意给的,目的是为了只展示一级层级
changeOnSelect: true, changeOnSelect: true,
expandTrigger: 'hover', expandTrigger: 'hover',
}, },
......
...@@ -126,7 +126,7 @@ export const schema: ISchema = { ...@@ -126,7 +126,7 @@ export const schema: ISchema = {
title: intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.category' }), title: intl.formatMessage({ id: 'member.management.memberPrComingClassify.drawer.form.classify.category' }),
'x-component': 'CascaderFormItem', 'x-component': 'CascaderFormItem',
'x-component-props': { 'x-component-props': {
fieldNames: { label: 'title', value: 'id', children: 'children' }, fieldNames: { label: 'title', value: 'id', children: '123' }, // 这里的 '123' 是故意给的,目的是为了只展示一级层级
changeOnSelect: true, changeOnSelect: true,
expandTrigger: 'hover', expandTrigger: 'hover',
}, },
......
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