This commit is contained in:
Henry Jameson 2026-08-04 00:34:48 +03:00
commit 0745ccf995
7 changed files with 15 additions and 15 deletions

View file

@ -29,7 +29,7 @@ export default {
...Setting.methods,
getValue(e) {
if (!this.truncate === 1) {
return parseInt(e.target.value)
return Number.parseInt(e.target.value)
} else if (this.truncate > 1) {
return Math.trunc(e.target.value / this.truncate) * this.truncate
}