diff --git a/packages/layers/src/line/models/line.ts b/packages/layers/src/line/models/line.ts index d7504b5dca..1f2e65ccfe 100644 --- a/packages/layers/src/line/models/line.ts +++ b/packages/layers/src/line/models/line.ts @@ -104,7 +104,7 @@ export default class LineModel extends BaseModel { u_targetColor: targetColorArr, // 顶点高度 scale - u_vertexScale: vertexHeightScale + u_vertexScale: vertexHeightScale, }; } public getAnimateUniforms(): IModelUniform { diff --git a/stories/Map/components/amap2demo_lineHeight.tsx b/stories/Map/components/amap2demo_lineHeight.tsx index 3eff5175f9..7627438aea 100644 --- a/stories/Map/components/amap2demo_lineHeight.tsx +++ b/stories/Map/components/amap2demo_lineHeight.tsx @@ -34,7 +34,7 @@ export default class Amap2demo_lineHeight extends React.Component { .size(1) .shape('line') .style({ - vertexHeightScale: 30 + vertexHeightScale: 30, }) .color('#ccc');