甘特图 API模板link_class页面内容link_class Description 定义分配给链接的CSS类 link_class: (link: Link) => string | void;Parameters link - (required) Link - 链接对象 Returns text - (string | void) - 该项目对应的CSS类 Examplegantt.templates.link_class = function(link){ return "";};Related Guides 依赖关系链接的模板 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.