From b3a35146cbaf5dbf727aa76b18de1727d6379140 Mon Sep 17 00:00:00 2001 From: chenos Date: Wed, 31 Mar 2021 09:10:15 +0800 Subject: [PATCH] fix: placeholder for cascader --- packages/app/src/components/form.fields/cascader/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/app/src/components/form.fields/cascader/index.tsx b/packages/app/src/components/form.fields/cascader/index.tsx index 923513914..e0db0c5be 100644 --- a/packages/app/src/components/form.fields/cascader/index.tsx +++ b/packages/app/src/components/form.fields/cascader/index.tsx @@ -39,6 +39,7 @@ export const Cascader = connect({ value = [], onChange, schema = {}, + placeholder, // TODO(feature): 增加静态数据支持 // dataSource: [] } = props; @@ -138,6 +139,7 @@ export const Cascader = connect({ return ( item[valueField])}