how to fire event on file select

前端 未结 7 1061
遥遥无期
遥遥无期 2020-12-02 15:25

I\'ve a form as

7条回答
  •  庸人自扰
    2020-12-02 15:43

    onFileChange(e) {
    //upload file and then delete it from input 
     self.$refs.inputFile.value = ''
    }
    

提交回复
热议问题