downloadFile返回的header中的key如何引用?
发布于 7 年前 作者 weisong 1823 次浏览 来自 官方Issues

downloadFile返回的header中的key如何引用?

例如:Content-Type,首字母大写,中间还有“减号”,res.header.Content-Type这样的引用编译报错啊!!!

求大神帮助!

1 回复

res.header[‘Content-Type’]

回到顶部