Browse Source

feat(组件):输入框修改

liutao 5 months ago
parent
commit
178b9ee387
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/components/Input/InputNumber/index.vue

+ 2 - 2
src/components/Input/InputNumber/index.vue

@@ -63,9 +63,9 @@ export default {
       handler(val) {
         if (val === undefined) return
         if (!this.decimalOptions.needy) {
-          this.handleInput(val)
+          this.handleInput(String(val))
         } else {
-          this.handleChange(val)
+          this.handleChange(String(val))
         }
       },
       immediate: true