export type TTmpFile = {
  path: string
  size: number
  time: number
  type: string
  name: string
}
export type TProgress = {
  progress: number // 0 - 100
  totalBytesSent: number // bytes
  totalBytesExpectedToSend: number
}

export type TFileItem = {
  file: TTmpFile | File
  status: number // 0 等待上传, 1 上传中, 2 已上传
  taskHandler?: Taro.UploadTask.UploadTaskPromise // 上传句柄
  fileProgress: TProgress
}
