问题: echarts tooltip 超出外部容器后被遮挡。如图: 解决: 只需要在tooltip增加属性confine为true即可。 其文档说明: 详细情况参考https://www.echartsjs.com/zh/option.html#tooltip