diff --git a/packages/f2/src/components/pictorial/pictorial.tsx b/packages/f2/src/components/pictorial/pictorial.tsx
index 032ee5ce2..2f943ea87 100644
--- a/packages/f2/src/components/pictorial/pictorial.tsx
+++ b/packages/f2/src/components/pictorial/pictorial.tsx
@@ -24,7 +24,7 @@ export default class Pictorial extends withInterval({}) {
{children.map((item) => {
const { xMax, xMin, yMax, yMin } = item;
- return ;
+ return ;
})}
);
diff --git a/packages/f2/test/components/pictorial/basic.test.tsx b/packages/f2/test/components/pictorial/basic.test.tsx
index 14d848e43..c7b6bfe9d 100644
--- a/packages/f2/test/components/pictorial/basic.test.tsx
+++ b/packages/f2/test/components/pictorial/basic.test.tsx
@@ -78,13 +78,13 @@ describe('pictorial', () => {
(
+ symbol={({ xMin, xMax, yMin, yMax, width, height, origin }) => (
{
style={{
x: xMin,
y: yMin,
- width: symbolSize[0],
- height: symbolSize[1],
+ width,
+ height,
fill: 'l(90) 0:#9cc1ff 1:#ecf5ff',
fillOpacity: 0.9,
}}
/>