更新时间:2023-11-20 16:20:58
假设您使用的是 ajax 代理,您可以更新 headers
相关商店的属性.查看代码,它将应用其中的任何内容作为标题.
Assuming that you are using an ajax proxy, you could update the headers
property on the stores in question. Looking at the code it'll apply whatever is in there as the headers.
一个更复杂的解决方案是覆盖 doRequest
函数来做任何适合你的事情.
A more involved solution would involve overriding the doRequest
function to do whatever suited you.