We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
actionType: 'dialog'配置data时,dialog层配的data取不到值
你是如何使用 amis 的? npm
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 存在
粘贴有问题的完整 amis schema 代码:
amis schema
{ "type": "page", "body": [ { "label": "提示弹框", "type": "button", "onEvent": { "click": { "actions": [ { "actionType": "dialog", "data": { "name1": "name1" }, "dialog": { "title": "弹框标题", "data": { "name2": "name2" }, "body": [ { "type": "tpl", "tpl": "${name1} - ${name2}" } ], "actions": [] } } ] } } } ] }
The text was updated successfully, but these errors were encountered:
feat: baidu#11128 dialog动作的data支持dataMergeData配置
ee5c93c
3016a49
f9b4928
No branches or pull requests
描述问题:
actionType: 'dialog'配置data时,dialog层配的data取不到值
截图或视频:
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的?
npm
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
存在
粘贴有问题的完整
amis schema
代码:点击按钮,弹窗中没有name2字符串。看文档有个dataMergeMode字段,看代码没处理dialog的情况,只处理了setvalue情况。
The text was updated successfully, but these errors were encountered: