This commit is contained in:
@@ -25,7 +25,7 @@ export default {
|
||||
return err;
|
||||
},
|
||||
MaxLength(ltkey, value, max) {
|
||||
if (value === undefined || value === null) {
|
||||
if (_.isEmpty(value)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -45,11 +45,10 @@ export default {
|
||||
return this.MaxLength(ltkey, value, 255);
|
||||
},
|
||||
After(startDate, endDate) {
|
||||
if (startDate === undefined || startDate === null) {
|
||||
if (_.isEmpty(startDate)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (endDate === undefined || endDate === null) {
|
||||
if (_.isEmpty(endDate)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user