Skip to content
New issue

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

error throws when add a tabs component #11142

Open
cainiaokan opened this issue Oct 31, 2024 · 1 comment
Open

error throws when add a tabs component #11142

cainiaokan opened this issue Oct 31, 2024 · 1 comment

Comments

@cainiaokan
Copy link

描述问题:

error throws when add a tabs component

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'type')

截图或视频:

image

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的?
    amis-editor

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    6.8.0

  3. 粘贴有问题的完整 amis schema 代码:

{
  "type": "tabs",
  "tabs": [
    {
      "title": "选项卡1",
      "body": [],
      "id": "u:092f1ccaa2bc"
    },
    {
      "title": "选项卡2",
      "body": []
    }
  ],
  "mountOnEnter": true
}
  1. 操作步骤
    add a tabs component in an empty page
@cainiaokan
Copy link
Author

this bug also occurs in amis 6.7.0 but not 6.6.0 hence we can presume it was introduced in 6.7.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant