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
nav
activeON
数据刷新,nav组件activeON 不重新计算,无法高亮
你是如何使用 amis 的? npm ,react
npm
react
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 6.0.0
6.0.0
粘贴有问题的完整 amis schema 代码:
amis schema
{ "type": "page", "id": "pageId", "name": "layout_page", "body": [ { "type": "button", "label": "第一个", "level": "primary", "className": "mb-2", "onEvent": { "click": { "actions": [ { "actionType": "setValue", "componentName": "layout_page", "args": { "value": { "activeKey": "/docs/index" } } } ] } } }, { "type": "button", "label": "第二个", "level": "primary", "className": "mb-2", "onEvent": { "click": { "actions": [ { "actionType": "setValue", "componentId": "pageId", "args": { "value": { "activeKey": "/docs/renderers" } } } ] } } }, { "type": "nav", "stacked": true, "className": "w-md", "links": [ { "label": "${activeKey}" }, { "label": "Nav 1", "to": "/docs/index", "activeOn": "${activeKey === '/docs/index'}" }, { "label": "Nav 2", "to": "/docs/renderers", "activeOn": "${activeKey === '/docs/renderers'}" } ] } ] }
page
activeKey
activeOn
The text was updated successfully, but these errors were encountered:
👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
Sorry, something went wrong.
same issue,anyone solved?
qkiroc
Successfully merging a pull request may close this issue.
描述问题:
数据刷新,
nav
组件activeON
不重新计算,无法高亮截图或视频:
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的?
npm
,react
amis 版本是什么?请先在最新 beta 版本测试问题是否存在
6.0.0
粘贴有问题的完整
amis schema
代码:点击按钮,更新
page
数据域的activeKey
变量,不触发activeOn
表达式计算,The text was updated successfully, but these errors were encountered: