Skip to content
New issue

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

[bug] page组件,在body区域无法获取toolbar区域的值 #9931

Closed
yanshuanghua opened this issue Mar 29, 2024 · 3 comments
Closed

[bug] page组件,在body区域无法获取toolbar区域的值 #9931

yanshuanghua opened this issue Mar 29, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@yanshuanghua
Copy link

yanshuanghua commented Mar 29, 2024

实现场景:

实现body区域获取toolbar区域的值

存在的问题:

请简单描述你现在遇到的不符合预期的问题...

当前方案:

{
  "type": "page",
  "name": "page_test",
  "toolbar": [
    {
      "type": "select",
      "name": "tree",
      "options": [
        {
          "label": "A",
          "value": "a"
        },
        {
          "label": "B",
          "value": "b"
        }
      ]
    }
  ],
  "body": [
    {
      "type": "tpl",
      "tpl": "toolbar区域的值为:${tree}"
    }
  ]
}
@yanshuanghua yanshuanghua changed the title page组件,怎么在body区域获取toolbar区域的值??? [bug] page组件,怎么在body区域获取toolbar区域的值??? Apr 1, 2024
@github-actions github-actions bot added the bug Something isn't working label Apr 1, 2024
Copy link

github-actions bot commented Apr 1, 2024

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@yanshuanghua yanshuanghua changed the title [bug] page组件,怎么在body区域获取toolbar区域的值??? [bug] page组件,在body区域无法获取toolbar区域的值 Apr 1, 2024
@yanshuanghua
Copy link
Author

@2betop 大佬,看下这个问题

@2betop
Copy link
Collaborator

2betop commented Apr 3, 2024

落下了属性,刚提交 :( #9968

@2betop 2betop closed this as completed in 7244030 Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants