Why its showing this error Property 'value' does not exist on type 'HTMLElement'

后端 未结 0 639
挽巷
挽巷 2021-01-07 09:32

While printing the filename on the input box its showing this error

  onChange($event : Event){
    const file = ($event.target as HTMLInputElement).files[0]
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题