diff --git a/src/components/Game.tsx b/src/components/Game.tsx index 5ffd646..9defb40 100644 --- a/src/components/Game.tsx +++ b/src/components/Game.tsx @@ -133,7 +133,8 @@ const Symbol: FC = ({ x, y, icon, isCover, status, onClick }) => { style={{ opacity: isCover ? 0.4 : 1 }} > {typeof icon.content === 'string' ? ( - linkReg.test(icon.content) ? ( + linkReg.test(icon.content) || + icon.content.startsWith('/') ? ( /*图片地址*/ ) : (