V2.4 bugfix

This commit is contained in:
孙超
2021-04-28 14:09:54 +08:00
parent 01c5de60dc
commit 33f6153e12
2 changed files with 3 additions and 3 deletions

View File

@@ -10,8 +10,8 @@ import * as React from 'react';
const updateInputModal = (status: string, type: number) => {
const formMap = wrapper.xFormWrapper.formMap;
const region = type === 0 ? 5 : 3;
const broker = type === 0 ? 6 : 4;
const region = type === 0 ? 6 : 3;
const broker = type === 0 ? 7 : 4;
formMap[region].invisible = status === 'region';
formMap[broker].invisible = status !== 'region';

View File

@@ -126,7 +126,7 @@ export class SearchAndFilterContainer extends React.Component<any, ISearchAndFil
);
}
public renderSearch(text?: string, placeholder?: string, keyName: string = 'searchKey',) {
public renderSearch(text?: string, placeholder?: string, keyName: string = 'searchKey') {
const value = this.state[keyName] as string;
return (
<li className="render-box">