mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 12:08:13 +08:00
模板语法报错问题修复 [amis-saas-6565][卡片随机]
Change-Id: I94265732a65830d5033b072a947417729aab6b64
This commit is contained in:
parent
27d7ee6c38
commit
da2af53f1d
@ -404,7 +404,7 @@ export default class APIControl extends React.Component<
|
||||
size: 'sm',
|
||||
mode: 'horizontal',
|
||||
description:
|
||||
'发送体格式为:<%= data.dataType === "json" ? "application/json" : data.dataType === "form-data" ? "multipart/form-data" : data.dataType === "form" ? "application/x-www-form-urlencoded" : "" %>,当发送内容中存在文件时会自动使用 form-data 格式。',
|
||||
'发送体格式为:<%= data.dataType === "json" ? "application/json" : (data.dataType === "form-data" ? "multipart/form-data" : (data.dataType === "form" ? "application/x-www-form-urlencoded" : "")) %>,当发送内容中存在文件时会自动使用 form-data 格式。',
|
||||
options: [
|
||||
{
|
||||
label: 'JSON',
|
||||
|
@ -406,7 +406,7 @@ export default class APIControl extends React.Component<
|
||||
size: 'sm',
|
||||
mode: 'horizontal',
|
||||
description:
|
||||
'发送体格式为:<%= data.dataType === "json" ? "application/json" : data.dataType === "form-data" ? "multipart/form-data" : data.dataType === "form" ? "application/x-www-form-urlencoded" : "" %>,当发送内容中存在文件时会自动使用 form-data 格式。',
|
||||
'发送体格式为:<%= data.dataType === "json" ? "application/json" : (data.dataType === "form-data" ? "multipart/form-data" : (data.dataType === "form" ? "application/x-www-form-urlencoded" : "")) %>,当发送内容中存在文件时会自动使用 form-data 格式。',
|
||||
options: [
|
||||
{
|
||||
label: 'JSON',
|
||||
|
@ -224,7 +224,7 @@ setSchemaTpl('api', (patch: any = {}) => {
|
||||
type: 'button-group-select',
|
||||
name: 'dataType',
|
||||
description:
|
||||
'发送体格式为:<%= data.dataType === "json" ? "application/json" : data.dataType === "form-data" ? "multipart/form-data" : data.dataType === "form" ? "application/x-www-form-urlencoded" : "" %>,当发送内容中存在文件时会自动使用 form-data 格式。',
|
||||
'发送体格式为:<%= data.dataType === "json" ? "application/json" : (data.dataType === "form-data" ? "multipart/form-data" : (data.dataType === "form" ? "application/x-www-form-urlencoded" : "")) %>,当发送内容中存在文件时会自动使用 form-data 格式。',
|
||||
size: 'sm',
|
||||
className: 'block',
|
||||
mode: 'inline',
|
||||
|
Loading…
Reference in New Issue
Block a user