crawler auth ing
This commit is contained in:
parent
b28e77fb26
commit
1dd2a601c8
|
@ -49,7 +49,32 @@ export class CrawlerAuthComponent implements OnInit, OnChanges {
|
|||
}
|
||||
|
||||
generateAuthComponent() {
|
||||
this.inputItems.map(function(v, i) {
|
||||
});
|
||||
// inputType: MetaInputType;
|
||||
// crawler: MetaCrawler;
|
||||
// description: string;
|
||||
// name: string;
|
||||
// createDate: Date;
|
||||
// required: boolean;
|
||||
// defaultValue: string;
|
||||
// pattern: string;
|
||||
// keyName: string;
|
||||
// keyValue: string;
|
||||
for (const inputItem of this.inputItems) {
|
||||
const typeId = inputItem.inputType.id;
|
||||
switch (typeId) {
|
||||
case 1: // TEXT_TYPE
|
||||
break;
|
||||
case 2: // PASSWORD_TYPE
|
||||
break;
|
||||
case 3: // NUMBER_TYPE
|
||||
break;
|
||||
case 4: // BOOLEAN_TYPE
|
||||
break;
|
||||
case 5: // SELECT_TYPE
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user