diff --git a/src/components/BasicShop/BasicComponents/Image/index.tsx b/src/components/BasicShop/BasicComponents/Image/index.tsx index d0c98ce..5a7e684 100644 --- a/src/components/BasicShop/BasicComponents/Image/index.tsx +++ b/src/components/BasicShop/BasicComponents/Image/index.tsx @@ -3,17 +3,45 @@ import { IImageConfig } from './schema'; const Image = memo((props: IImageConfig) => { const { imgUrl, round = 0 } = props; return ( -
- -
+ <> + {props.isTpl && ( +
+ +
+ )} + {!props.isTpl && ( +
+
+ +
+
+ )} + ); });