Commit 0859f43d by weiw

fix:不要下载功能

parent 9686ac09
...@@ -170,11 +170,6 @@ setFileType('pdf') ...@@ -170,11 +170,6 @@ setFileType('pdf')
{renderPreview()} {renderPreview()}
</ModalBody> </ModalBody>
<ModalFooter className="flex justify-end gap-2"> <ModalFooter className="flex justify-end gap-2">
{docUrl && (
<Button color="primary" onPress={handleDownload} size="sm">
下载文件
</Button>
)}
</ModalFooter> </ModalFooter>
</ModalContent> </ModalContent>
</Modal> </Modal>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment