scene: the image information obtained through the camera is the data containing rui
. To upload the file, the code to Baidu is:
document is:
formData.append (name, value, filename) value
The field"s value. This can be a USVString or Blob (including
subclasses such as File).
The document mentions that the parameter is USVString
or Blob
, so why can you use an object that contains file information instead?