mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
fix: varliableItem value 空选择问题
This commit is contained in:
parent
7ac417ba49
commit
f0b32de88f
@ -100,7 +100,8 @@
|
||||
&-buttonWrapper {
|
||||
height: auto;
|
||||
}
|
||||
&-button {
|
||||
&-button,
|
||||
&-buttonWrapper-button {
|
||||
height: 100%;
|
||||
background-color: #f7f7f9;
|
||||
padding: 4px 8px;
|
||||
|
@ -286,7 +286,7 @@ function VariableList(props: VariableListProps) {
|
||||
}
|
||||
|
||||
function handleChange(item: any) {
|
||||
if (item.isMember || item.memberDepth !== undefined) {
|
||||
if (item.isMember || item.memberDepth !== undefined || !item.value) {
|
||||
return;
|
||||
}
|
||||
onSelect?.(item);
|
||||
|
Loading…
Reference in New Issue
Block a user