/^[1-9]{1}\d{0,9}(\.\d{1,4})?$/
const h = file.name.substring(file.name.lastIndexOf('.') + 1)
比如1.pdf得到pdf