会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
我是格鲁特
博客园
新随笔
联系
订阅
管理
2022年3月28日
前端下载文件的方法
摘要: 方法1: 前端点击下载按钮后直接发送请求,后端输出文件流。 import React from 'react'; import { Button } from 'antd'; interface Props { /** 下载地址 */ url: string; text?: string; clas
阅读全文
posted @ 2022-03-28 18:45 我是格鲁特
阅读(629)
评论(0)
推荐(0)
编辑
公告