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? 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
tabs的title支持schema配置,但配置source时取不到其中的数据
你是如何使用 amis 的? npm
npm
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 最新官网依然存在问题
粘贴有问题的完整 amis schema 代码:
amis schema
{ "type": "page", "data": { "arr": [ { "a": "收入", "b": 199 }, { "a": "支出", "b": 299 } ] }, "body": [ { "type": "tabs", "source": "${arr}", "tabs": [ { "title": { "type": "tpl", "tpl": "这里取不到a数据:${a}" }, "body": { "type": "tpl", "tpl": "金额:${b|number}元" } } ] } ] }
关键代码:
The text was updated successfully, but these errors were encountered:
对,这段代码有问题,感谢反馈
Sorry, something went wrong.
fix: 修复 tabs 的 title 渲染上下文信息错误问题 Close: baidu#10259
2af8ef4
fix: 修复 tabs 的 title 渲染上下文信息错误问题 Close: #10259 (#10265)
c2d29d5
Successfully merging a pull request may close this issue.
描述问题:
tabs的title支持schema配置,但配置source时取不到其中的数据
截图或视频:
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的?
npm
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
最新官网依然存在问题
粘贴有问题的完整
amis schema
代码:期望可以在title中获取到source中对应的数据
关键代码:
The text was updated successfully, but these errors were encountered: