🐛 [Bug]: 数据源中获取远程字段中的发送请求逻辑缺失,并且在发送过程中应该支持设置请求头,方便对于有权限校验等请求的支持
Closed this issue · 3 comments
CareyYangyy commented
Environment
Chrome120.0.6099.216(正式版本) (arm64)
Version
v16.20.2
Version
最新
Link to minimal reproduction
Step to reproduce
What is expected
- 点击的时候能正常发送请求
- 能否支持对请求头的设置
What is actually happening
No response
Any additional comments (optional)
No response
Issues-translate-bot commented
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: The send request logic in obtaining the remote field in the data source is missing, and the setting of request headers should be supported during the sending process to facilitate support for requests such as permission verification.
CareyYangyy commented
yaoyun8 commented
@CareyYangyy 请求头可以在willFetch函数中设置。
目前设置有问题,待PR合入后修复。