mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
改个写法
This commit is contained in:
parent
4b73a97268
commit
408372cf56
@ -64,7 +64,9 @@ export class HeadCellSearchDropDown extends React.Component<
|
||||
schema = {
|
||||
title: '',
|
||||
...searchable,
|
||||
controls: searchable.controls ? [...searchable.controls] : undefined
|
||||
controls: Array.isArray(searchable.controls)
|
||||
? searchable.controls.concat()
|
||||
: undefined
|
||||
};
|
||||
} else {
|
||||
schema = {
|
||||
|
Loading…
Reference in New Issue
Block a user