plainheart commented on issue #13905: URL: https://github.com/apache/incubator-echarts/issues/13905#issuecomment-752558498
style 的优先级确实要比 class 要高。`className` 的本意是允许用户可以直接通过CSS控制样式,而无需繁琐地配置 option,可以比较方便地添加一些其他样式属性,但要覆盖默认的 tooltip 样式暂时也只能通过 `!important` 来覆盖。 我不太觉得这没有意义。或者你的意思是指定了 `className` 之后,就应该完全忽略默认生成的 style 样式? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org