mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
修复 crud columns项配置 search.controls时,渲染异常 (#1648)
This commit is contained in:
parent
9ffb5696c2
commit
b5d329b2d7
@ -63,7 +63,8 @@ export class HeadCellSearchDropDown extends React.Component<
|
||||
if (searchable.controls || searchable.tabs || searchable.fieldSet) {
|
||||
schema = {
|
||||
title: '',
|
||||
...searchable
|
||||
...searchable,
|
||||
controls: searchable.controls ? [...searchable.controls] : undefined
|
||||
};
|
||||
} else {
|
||||
schema = {
|
||||
|
@ -165,7 +165,7 @@ function str2function(
|
||||
}
|
||||
}
|
||||
|
||||
function responseAdaptor(ret: fetcherResult, api: ApiObject) {
|
||||
export function responseAdaptor(ret: fetcherResult, api: ApiObject) {
|
||||
const data = ret.data;
|
||||
let hasStatusField = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user