fixed auth_crawler

This commit is contained in:
snoop 2017-09-08 18:34:11 +09:00
parent d7d739dc8b
commit 2b21d74d63

View File

@ -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 { public componentWillMount(): void {
// this.data = [ // this.data = [
// { // {
@ -75,6 +82,7 @@ export class CrawlerAuthInputs extends React.Component<CrawlerAuthInputsProps, C
// 'pattern': 'regex...', // 'pattern': 'regex...',
// }, // },
// ]; // ];
console.log('init');
} }
public handleVerify(): void { public handleVerify(): void {