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

Support code id #111

Merged
merged 11 commits into from
Mar 13, 2024
Merged

Support code id #111

merged 11 commits into from
Mar 13, 2024

Conversation

wwsun
Copy link
Contributor

@wwsun wwsun commented Mar 5, 2024

fix #105

Tasks

  • 拖拽组件的时候自动生成 tid 属性
  • 支持解析 tid 属性,作为 codeId
  • 合并 data-id 和 cid 的逻辑
  • 是否自动生成tid,在tangoConfigJson中提供一个配置项(设计器配置)
  • Block 的节点追踪逻辑:文件信息的注入 ??? data-id={file}:{component}:{id}

Guide

通过在项目 tango.config.json 里开启配置

{
  "designerConfig": {
    "autoGenerateComponentId": true
  }
}

@wwsun wwsun changed the title 支持固定 id 解析 Support code id Mar 5, 2024
@wwsun wwsun merged commit 6c65362 into main Mar 13, 2024
1 check passed
@wwsun wwsun deleted the feat/tid branch March 13, 2024 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

建议增加控件自定义ID的功能
1 participant