mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
修复CRUD searchable时,query格式异常的问题 (#1065)
* Iframe 联动时导致 iframe 刷新问题 * src过期判断有问题 * iframe message事件监听器判断优化 * 修复 DiffEditor 显示 [Object object] 的问题 * 修复 Picker 中排序操作触发 Form initApi的问题 * 修复 submitApi 获取数据链数据失效问题 * fix doc * 修复CRUD searchable时,query格式异常的问题
This commit is contained in:
parent
25f95dcc7a
commit
c16b02fd23
@ -6,6 +6,7 @@ import Overlay from '../../components/Overlay';
|
||||
import {findDOMNode} from 'react-dom';
|
||||
import PopOver from '../../components/PopOver';
|
||||
import {ITableStore} from '../../store/table';
|
||||
import {setVariable} from '../../utils/helper';
|
||||
|
||||
export interface QuickSearchConfig {
|
||||
type?: string;
|
||||
@ -180,7 +181,7 @@ export class HeadCellSearchDropDown extends React.Component<
|
||||
handleReset() {
|
||||
const {onQuery, data, name} = this.props;
|
||||
const values = {...data};
|
||||
this.formItems.forEach(key => (values[key] = undefined));
|
||||
this.formItems.forEach(key => setVariable(values, key, undefined));
|
||||
|
||||
if (values.orderBy === name) {
|
||||
values.orderBy = '';
|
||||
|
Loading…
Reference in New Issue
Block a user