fix bug
This commit is contained in:
		| @ -407,7 +407,7 @@ export class SupplyManagementOnecarPublishComponent implements OnInit { | |||||||
|             params: { dictKey: 'insure:packaged:goods' }, |             params: { dictKey: 'insure:packaged:goods' }, | ||||||
|             containsAllLabel: false, |             containsAllLabel: false, | ||||||
|             validator: val => { |             validator: val => { | ||||||
|               if (this.sf5.value.insuranceType !=='3' && this.isEmpty(val)) { |               if (this.sf5.value?.insuranceType !=='3' && this.isEmpty(val)) { | ||||||
|                 return [{ keyword: 'required', message: '必填项' }]; |                 return [{ keyword: 'required', message: '必填项' }]; | ||||||
|               } else { |               } else { | ||||||
|                 return []; |                 return []; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user