看到echarts源码dispatch timelinedata时的这一段
timelineOption.data[self.currentIndex].name != null ? timelineOption.data[self.currentIndex].name : timelineOption.data[self.currentIndex]
timelineOption.data[self.currentIndex].name为非空,将timelineOption.data[self.currentIndex].name赋值给自身,否则保持timelineOption.data[self.currentIndex]进行下一轮取值