fix:【ele】【infra】代码生成时,无法选中菜单,对应 https://t.zsxq.com/xZ4fL
parent
08f6cb7d14
commit
0f864b22c1
|
|
@ -172,6 +172,7 @@ export function useGenerationInfoBaseFormSchema(): VbenFormSchema[] {
|
||||||
valueField: 'id',
|
valueField: 'id',
|
||||||
childrenField: 'children',
|
childrenField: 'children',
|
||||||
placeholder: '请选择上级菜单',
|
placeholder: '请选择上级菜单',
|
||||||
|
checkStrictly: true,
|
||||||
filterTreeNode(input: string, node: Recordable<any>) {
|
filterTreeNode(input: string, node: Recordable<any>) {
|
||||||
if (!input || input.length === 0) {
|
if (!input || input.length === 0) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue