mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-03 02:52:08 +08:00
V2.4 bugfix
This commit is contained in:
@@ -10,8 +10,8 @@ import * as React from 'react';
|
|||||||
|
|
||||||
const updateInputModal = (status: string, type: number) => {
|
const updateInputModal = (status: string, type: number) => {
|
||||||
const formMap = wrapper.xFormWrapper.formMap;
|
const formMap = wrapper.xFormWrapper.formMap;
|
||||||
const region = type === 0 ? 5 : 3;
|
const region = type === 0 ? 6 : 3;
|
||||||
const broker = type === 0 ? 6 : 4;
|
const broker = type === 0 ? 7 : 4;
|
||||||
formMap[region].invisible = status === 'region';
|
formMap[region].invisible = status === 'region';
|
||||||
formMap[broker].invisible = status !== 'region';
|
formMap[broker].invisible = status !== 'region';
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
const value = this.state[keyName] as string;
|
||||||
return (
|
return (
|
||||||
<li className="render-box">
|
<li className="render-box">
|
||||||
|
|||||||
Reference in New Issue
Block a user