甘特图 API属性layer_attribute页面内容layer_attribute 信息此功能仅限于 PRO 版本使用。 Description 设置任务图层的 DOM 元素属性名称 layer_attribute: stringExamplegantt.config.layer_attribute = "tasklayer";默认值: "data-layer"Related samples 显示截止日期 显示基线 Related API addTaskLayer Need help?Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.