Merge pull request #264 from didi/dev_2.4.0

修复Topic工单选择Broker方式进行审批时展示的还是Region的问题
This commit is contained in:
EricZeng
2021-04-28 14:19:26 +08:00
committed by GitHub
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">