DOM:

this.$refs.refName.files[0]
若多个input ref命名相同

this.$refs.refName[index].files[0]

Logo

Vue社区为您提供最前沿的新闻资讯和知识内容

更多推荐