#$refs 只有blue 和focus 方法 我以为number是根据input增加了一些属性 结果是: 源码中他重写返回的只有这两个方法...折磨人啊 最后直接用input框 type设置为number $refs后