接口测试
This commit is contained in:
parent
de6a309f42
commit
67947182fd
|
|
@ -133,8 +133,8 @@ export default class QuickSearch extends React.Component {
|
|||
const { quickSearch } = this.props;
|
||||
let { quickSearchData } = quickSearch;
|
||||
let datas = quickSearchData.datas;
|
||||
if(datas.length>=6){
|
||||
message.error(getLabel('387795',"最多只能添加6项"));
|
||||
if(datas.length>=8){
|
||||
message.error(getLabel('387795',"最多只能添加8项"));
|
||||
return;
|
||||
}
|
||||
let time = new Date().getTime();
|
||||
|
|
|
|||
|
|
@ -34,6 +34,11 @@ export default class QuickSearchDetail extends React.Component {
|
|||
quickSearch.quickSearchDetailVisable = false;
|
||||
}
|
||||
|
||||
onChange = (data) => {
|
||||
const { quickSearch } = this.props;
|
||||
quickSearch.setQuickSearchDetailData(data);
|
||||
}
|
||||
|
||||
getSearchButton = () => {
|
||||
const { quickSearch } = this.props;
|
||||
const buttons = new Array();
|
||||
|
|
@ -258,6 +263,7 @@ class QuickSearchTableEdit extends React.Component{
|
|||
}
|
||||
typeof this.props.onChange === 'function' && this.props.onChange(_datas);
|
||||
}
|
||||
|
||||
render() {
|
||||
const { datas, rowSelection } = this.props;
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in New Issue