Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:去掉editor里api请求适配器里关于api.body的说明,统一使用api.data #7254

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix:去掉editor里api请求适配器里关于api.body的说明,统一使用api.data
  • Loading branch information
jinye committed Jun 25, 2023
commit 5a7caa169c5af7ee4ac05a9e396ccc3385f7c105
5 changes: 2 additions & 3 deletions packages/amis-editor/src/renderer/APIAdaptorControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,9 +397,8 @@ setSchemaTpl('apiRequestAdaptor', {
&nbsp;1. <span style="color: #108CEE">api</span>:接口的schema配置对象<br/>
&nbsp;2. <span style="color: #108CEE">api.data</span>:请求数据<br/>
&nbsp;3. <span style="color: #108CEE">api.query</span>:请求查询参数<br/>
&nbsp;4. <span style="color: #108CEE">api.body</span>:请求体(针对POST/PUT/PATCH)<br/>
&nbsp;5. <span style="color: #108CEE">api.headers</span>:请求头<br/>
&nbsp;6. <span style="color: #108CEE">api.url</span>:请求地址<br/>`
&nbsp;4. <span style="color: #108CEE">api.headers</span>:请求头<br/>
&nbsp;5. <span style="color: #108CEE">api.url</span>:请求地址<br/>`
),
name: 'requestAdaptor',
type: 'ae-apiAdaptorControl',
Expand Down
Loading