Issue #128: Done.
This commit is contained in:
@@ -814,6 +814,7 @@ export default {
|
||||
default:
|
||||
break;
|
||||
};
|
||||
if(data.min > data.max) return this.$toast.error('Please check time range setting.');
|
||||
if(JSON.stringify(data) === JSON.stringify(this.isSubmitData)) return this.$toast.error('Please set the new rule.');
|
||||
|
||||
this.isLoading = true;
|
||||
|
||||
@@ -41,6 +41,8 @@ export default {
|
||||
min: newValue.min,
|
||||
max: newValue.max
|
||||
};
|
||||
this.$emit('min-total-seconds', newValue.min);
|
||||
this.$emit('max-total-seconds', newValue.max);
|
||||
}
|
||||
this.setTimeValue();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user