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

amis-editor 时间轴无法正常展示颜色 #11655

Open
738326776zby opened this issue Feb 25, 2025 · 0 comments
Open

amis-editor 时间轴无法正常展示颜色 #11655

738326776zby opened this issue Feb 25, 2025 · 0 comments

Comments

@738326776zby
Copy link

描述问题:

amis-editor 时间轴无法正常展示颜色

截图或视频:

Image

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

  1. 你是如何使用 amis 的?
    npm

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
    "amis": "6.12.0-beta.0",
    "amis-core": "6.12.0-beta.0",
    "amis-editor": "6.12.0-beta.0",
    "amis-editor-core": "6.12.0-beta.0",
    "amis-formula": "6.12.0-beta.0",
    "amis-widget": "^3.2.2",

  3. 粘贴有问题的完整 amis schema 代码:
    {
    "type": "page",
    "body": [
    {
    "type": "timeline",
    "items": [
    {
    "time": "2019-02-07",
    "title": "节点数据",
    "color": "#ffb200"
    },
    {
    "time": "2019-02-08",
    "title": "节点数据",
    "color": "#4F86F4"
    },
    {
    "time": "2019-02-09",
    "title": "节点数据",
    "color": "success"
    },
    {
    "time": "2019-02-09",
    "title": "节点数据",
    "color": "warning"
    }
    ]
    }
    ]
    }

  4. 操作步骤
    升级后amis-editor 无法根据配置的 color 渲染出节点颜色

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

No branches or pull requests

1 participant