diff --git a/resources/js/components/Increment.vue b/resources/js/components/Increment.vue index d28dd3c..fdc0469 100644 --- a/resources/js/components/Increment.vue +++ b/resources/js/components/Increment.vue @@ -50,7 +50,7 @@ export default { if (!isNaN(this.modelValue)) { this.val = this.modelValue; }else{ - this.val = this.xvalue; + this.val = parseInt(this.xvalue.toString()); } }, computed: {},