fixed auth_crawler
This commit is contained in:
parent
d7d739dc8b
commit
2b21d74d63
|
@ -46,6 +46,13 @@ export class CrawlerAuthInputs extends React.Component<CrawlerAuthInputsProps, C
|
|||
|
||||
}
|
||||
|
||||
public componentWillReceiveProps?(nextProps: Readonly<CrawlerAuthInputsProps>, nextContext: any): void {
|
||||
if(nextProps.metaCrawlerInputItemList !== this.props.metaCrawlerInputItemList) {
|
||||
this.setState({authJson: {}});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public componentWillMount(): void {
|
||||
// this.data = [
|
||||
// {
|
||||
|
@ -75,6 +82,7 @@ export class CrawlerAuthInputs extends React.Component<CrawlerAuthInputsProps, C
|
|||
// 'pattern': 'regex...',
|
||||
// },
|
||||
// ];
|
||||
console.log('init');
|
||||
}
|
||||
|
||||
public handleVerify(): void {
|
||||
|
|
Loading…
Reference in New Issue
Block a user