解决冲突

This commit is contained in:
wangshiming
2022-02-24 16:41:38 +08:00
parent f39b829d5d
commit 68806a8d60
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ export class SupplyManagementBulkPublishComponent implements OnInit {
}, },
validator: (val) => { validator: (val) => {
if( new Date(val) <new Date()){ if( new Date(val) <new Date()){
return [{ keyword: 'validTime', message: '有效期大于当前时间' }]; return [{ keyword: 'validTime', message: '有效期时间需大于当前时间' }];
} }
return []; return [];
}, },

View File

@ -179,7 +179,7 @@ export class SupplyManagementBulkReleasePublishComponent implements OnInit {
}, },
validator: (val) => { validator: (val) => {
if( new Date(val) <new Date()){ if( new Date(val) <new Date()){
return [{ keyword: 'validTime', message: '有效期需大于当前时间' }]; return [{ keyword: 'validTime', message: '有效期时间需大于当前时间' }];
} }
return []; return [];
}, },