function fileSelected(e: Event) {
  const target = e.target as HTMLInputElement
  const file: File = (target.files as FileList)[0]
  // ...
}

相关文章:

  • 2021-08-06
  • 2022-02-04
  • 2021-12-10
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-08
  • 2021-06-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案