Skip to content

Commit

Permalink
fix: 公式字段的公式属性支持 amis 公式,并启用编辑器
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Oct 17, 2024
1 parent 87bdc33 commit 5b7f039
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,12 @@ const createMetaConfig = (name: string, type: string, title: string, icon: strin
"labelRemark": "字段类型为自动编号或公式时,必须填写此字段。",
"description": "",
"requiredOn": "['autonumber', 'formula'].indexOf(config.type) > -1 ? true: false",
"type": "textarea",
"type": "input-formula",
"visibleOn": "['autonumber', 'formula'].indexOf(config.type) > -1 ? true: false",
"clearValueOnHidden": true,
"disabledOn": "${config.is_system == true}"
"evalMode": false,
"disabledOn": "${config.is_system == true}",
"variables": "${window:_objectFieldsVariables}"
},
{
"name": "config.show_as_qr",
Expand Down

0 comments on commit 5b7f039

Please sign in to comment.