diff --git a/packages/amis-editor/src/locale/en-US.ts b/packages/amis-editor/src/locale/en-US.ts index c0b0261ef..9fb6d5ecc 100644 --- a/packages/amis-editor/src/locale/en-US.ts +++ b/packages/amis-editor/src/locale/en-US.ts @@ -3304,5 +3304,7 @@ extendLocale('en-US', { '7bb3e24cc54f4b8ee0a65d14fa4c067c': 'Modify activation tab value', 'fd951a59a7c635d5330bc1aeec22c813': 'Custom Data', 'b62ce3df3c0d5772006c525b60d5eeab': - 'The data defaults to the data field where the source component is located, you can select "Custom" to customize the required data' + 'The data defaults to the data field where the source component is located, you can select "Custom" to customize the required data', + '0f9803bd27434940d4017007c105a861': + 'When "Yes" is selected, and the target component is CRUD, the request be send with this data. Other target components send with this data just when the request api is POST method.' }); diff --git a/packages/amis-editor/src/locale/zh-CN.ts b/packages/amis-editor/src/locale/zh-CN.ts index 62c5a9a8b..0432bc3e6 100644 --- a/packages/amis-editor/src/locale/zh-CN.ts +++ b/packages/amis-editor/src/locale/zh-CN.ts @@ -2920,5 +2920,7 @@ extendLocale('zh-CN', { '7bb3e24cc54f4b8ee0a65d14fa4c067c': '激活指定选项卡', 'fd951a59a7c635d5330bc1aeec22c813': '自定义数据', 'b62ce3df3c0d5772006c525b60d5eeab': - '数据默认为源组件所在数据域,开启“自定义”可以定制所需数据' + '数据默认为源组件所在数据域,开启“自定义”可以定制所需数据', + '0f9803bd27434940d4017007c105a861': + '当选择“是”,且目标组件是增删改查组件时,数据接口请求时将带上这些数据,其他类型的目标组件只有在数据接口是post请求时才会带上这些数据。' }); diff --git a/packages/amis-editor/src/renderer/event-control/actions.tsx b/packages/amis-editor/src/renderer/event-control/actions.tsx index c3cb4b2ee..8dd0e7b09 100644 --- a/packages/amis-editor/src/renderer/event-control/actions.tsx +++ b/packages/amis-editor/src/renderer/event-control/actions.tsx @@ -782,7 +782,7 @@ const ACTION_TYPE_TREE = (manager: any): RendererPluginAction[] => { className: 'm-l-xs', icon: 'fa fa-question-circle', rootClose: true, - content: `选择“是”时,会将源组件所在数据域变量同步到目标组件的数据域。
如果目标组件是增删改查组件,且增删改查组件的数据拉取接口是get请求,则源组件所在数据域变量将追加到目标组件的初始化请求query中。`, + content: `当选择“是”,且目标组件是增删改查组件时,数据接口请求时将带上这些数据,其他类型的目标组件只有在数据接口是post请求时才会带上这些数据。`, placement: 'top' }, onText: '是',