Skip to content

Commit a03e97b

Browse files
authored
fix: 修复网站demo错误 (#2120)
1 parent bbda837 commit a03e97b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/case/multi-view/demo/nobel-prize.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,8 @@ fetch('https://gw.alipayobjects.com/os/antfincdn/NHer2zyRYE/nobel-prize-data.jso
278278

279279
labChart.render();
280280

281-
const view1 = labChart.chart.views[1];
282-
const view2 = labChart.chart.views[2];
281+
const view1 = labChart.chart.views[0];
282+
const view2 = labChart.chart.views[1];
283283
const view3 = labChart.chart.views[2];
284284
// 根据 view3 中创建的顺序,可知 滑块对应的第 2 个几何标记对象 geometry
285285
const sliderBlock = view3.geometries[1];

0 commit comments

Comments
 (0)