Browse Source

[完善]修改bug

beijing
邵佳豪 3 years ago
parent
commit
82fee7f37f
  1. 3
      src/app/pages/criminal-records-admin/criminal-records-admin.component.ts
  2. 3
      src/app/pages/criminal-records/criminal-records.component.ts

3
src/app/pages/criminal-records-admin/criminal-records-admin.component.ts

@ -639,6 +639,9 @@ export class CriminalRecordsAdminComponent implements OnInit {
if (!e) {
this.warningTypesDetails = this.warningTypesDetailsCopy
this.warningTypes = this.warningTypesCopy
this.validateForm.patchValue({
type: null,
});
return
}
this.warningLevels.forEach(element => {

3
src/app/pages/criminal-records/criminal-records.component.ts

@ -576,6 +576,9 @@ export class CriminalRecordsComponent implements OnInit {
if (!e) {
this.warningTypesDetails = this.warningTypesDetailsCopy
this.warningTypes = this.warningTypesCopy
this.validateForm.patchValue({
type: null,
});
return
}
this.warningLevels.forEach(element => {

Loading…
Cancel
Save