From 75a3c1f8dbcc671cef5dcebb394a022dd1108f3d Mon Sep 17 00:00:00 2001 From: A1Gard Date: Sat, 13 Jul 2024 02:25:32 +0330 Subject: [PATCH] fixed Increment.vue component inc bug --- resources/js/components/Increment.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {},