[update] 修改bug88531

This commit is contained in:
lideqin
2024-08-13 13:59:40 +08:00
parent 5b80cfea7e
commit c521e62a38
@@ -271,7 +271,7 @@ const FILE_TYPE_PDF = 'pdf'
const CAN_PREVIEW_FILE_SUFFIX = ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx']
const uidGenerator = () => {
return '-' + parseInt(Math.random() * 10000 + 1, 10)
return '-' + parseInt(Math.random() * 1000000 + 1, 10)
}
export default {