Replace loose equality (== null, != null) with strict equality

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 09:22:36 +08:00
parent 3eec131ae0
commit 64372c7043
8 changed files with 20 additions and 20 deletions

View File

@@ -40,12 +40,12 @@ export default {
handler: function(newValue, oldValue) {
this.durationMax = null
this.durationMin = null
if(newValue == null) {
if(newValue === null) {
this.timeData = {
min: 0,
max: 0
};
}else if(newValue != null) {
}else if(newValue !== null) {
this.timeData = {
min: newValue.min,
max: newValue.max