Antd-mobile imagepicker how to customize the method of selecting pictures. You can only take pictures, not choose locally.

problem description

how to use antd-mobile imagepicker to customize the method of selecting pictures, which can only be taken, not selected locally? How to set

related codes

/ / Please paste the code text below (do not replace the code with pictures)

<ImagePicker
  files={files}
  onChange={this.onChange.bind(this)}
  onImageClick={(index, fs) => console.log(index,  fs)}
  selectable={files.length < 3}
  onAddImageClick={this.onAddImageClick.bind(this)}
/>

onAddImageClick (e){
    console.log(e)
}


Dec.25,2021

< input type= "file" accept= "image/*" capture= "camera" >


some Android HTML5, may not support camera hoisting. The vue example code is as follows:
< input VIFF = "! isAndroid" type= "file" accept= "image/*" capture= "camera" / >
< button VIFF = "isAndroid" @ click= "openDevicePhoto ()" > < / button > the implementation of
openDevicePhoto () is best supported by the client
.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf490e-3175c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf490e-3175c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?