摘要: 如题 阅读全文
posted @ 2023-06-20 16:25 tslam 阅读(2) 评论(0) 推荐(0) 编辑
摘要: content_disposition = response对象.headers.get("content-disposition") 阅读全文
posted @ 2023-06-20 09:59 tslam 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 如下 在项目中全局搜索FileResponse可找见 class ExportPlugin(BaseAdminPlugin): export_mimes = {'xlsx': 'application/vnd.ms-excel', 'xls': 'application/vnd.ms-excel', 阅读全文
posted @ 2023-06-20 09:57 tslam 阅读(21) 评论(0) 推荐(0) 编辑