series:[{name: '测试', type: 'line', data: [1,null,2,null,null,3,null,null,null,4], connectNulls: true}]echarts 官网 配置项https://www.echartsjs.com/zh/option.html#series-line.connectNulls