docs: [input-number] fix type error (#19712)

This commit is contained in:
jiaxiang 2025-01-22 23:39:47 +08:00 committed by GitHub
parent 42d279f87b
commit c8650d74e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
import { ref } from 'vue'
const num = ref(1)
const handleChange = (value: number) => {
const handleChange = (value: number | undefined) => {
console.log(value)
}
</script>

View File

@ -28,7 +28,7 @@
import { ref } from 'vue'
const num = ref(1)
const handleChange = (value: number) => {
const handleChange = (value: number | undefined) => {
console.log(value)
}
</script>