fix:【ele】【infra】代码生成时,无法选中菜单,对应 https://t.zsxq.com/xZ4fL

This commit is contained in:
YunaiV
2025-12-21 21:15:49 +08:00
parent 08f6cb7d14
commit 0f864b22c1

View File

@@ -172,6 +172,7 @@ export function useGenerationInfoBaseFormSchema(): VbenFormSchema[] {
valueField: 'id',
childrenField: 'children',
placeholder: '请选择上级菜单',
checkStrictly: true,
filterTreeNode(input: string, node: Recordable<any>) {
if (!input || input.length === 0) {
return true;