V-model.number emptying becomes string

clipboard.png

clipboard.png

clipboard.png
because when the el-input of elment ui is used to empty, it will cause num="", and then use asyncvalidate check to cause non-numeric prompt to be checked

Jul.27,2021

typeof '' === 'string'

that's the way it is, there's no problem

Menu