Поправил нейминг
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
import BaseInput from "@/components/base/BaseInput";
|
||||
import BaseInputContainer from "@/components/base/BaseInputContainer.vue";
|
||||
import { ruleNumberInput } from "@/shared/utils/rulesInputs";
|
||||
import { roundedNumber } from "@/shared/utils/methodsObjects";
|
||||
import { roundNumber } from "@/shared/utils/methodsObjects";
|
||||
|
||||
export default {
|
||||
name: "BaseInputNumber",
|
||||
@@ -61,7 +61,7 @@ export default {
|
||||
intervalId: 0,
|
||||
timeoutId: 0,
|
||||
ruleNumberInput: [(val) => ruleNumberInput(val, this.max, this.min)],
|
||||
roundedNumber: roundedNumber,
|
||||
roundNumber: roundNumber,
|
||||
};
|
||||
},
|
||||
props: {
|
||||
@@ -182,7 +182,7 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
value(val) {
|
||||
this.value = this.roundedNumber(val, this.rounding);
|
||||
this.value = this.roundNumber(val, this.rounding);
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
|
||||
Reference in New Issue
Block a user