Code Format

pull/6768/head
GitHub Actions Bot 2024-11-12 06:06:06 +00:00
parent a2eaeba481
commit a85d4bc789
2 changed files with 335 additions and 328 deletions

View File

@ -378,15 +378,13 @@ export default {
if (this.value && this.value[0] !== undefined) { if (this.value && this.value[0] !== undefined) {
if (this.value[0] < this.min) return 0; if (this.value[0] < this.min) return 0;
else return ((this.value[0] - this.min) * 100) / (this.max - this.min); else return ((this.value[0] - this.min) * 100) / (this.max - this.min);
} } else return 0;
else return 0;
}, },
rangeEndPosition() { rangeEndPosition() {
if (this.value && this.value.length === 2 && this.value[1] !== undefined) { if (this.value && this.value.length === 2 && this.value[1] !== undefined) {
if (this.value[1] > this.max) return 100; if (this.value[1] > this.max) return 100;
else return ((this.value[1] - this.min) * 100) / (this.max - this.min); else return ((this.value[1] - this.min) * 100) / (this.max - this.min);
} } else return 100;
else return 100;
} }
} }
}; };

File diff suppressed because it is too large Load Diff