diff --git a/src/packages/image/demos/taro/demo2.tsx b/src/packages/image/demos/taro/demo2.tsx index a700fa4e40..e5b058a129 100644 --- a/src/packages/image/demos/taro/demo2.tsx +++ b/src/packages/image/demos/taro/demo2.tsx @@ -16,8 +16,6 @@ const Demo2 = () => { radius="50%" /> - - { radius="50%" /> - - { const src = 'https://storage.360buyimg.com/imgtools/e067cd5b69-07c864c0-dd02-11ed-8b2c-d7f58b17086a.png' return ( <> - + {[ 'scaleToFill', 'aspectFit', @@ -20,7 +20,7 @@ const Demo6 = () => { ) })} - + ) } diff --git a/src/packages/image/demos/taro/demo7.tsx b/src/packages/image/demos/taro/demo7.tsx index ddf83d36f9..cdbcf0c4c8 100644 --- a/src/packages/image/demos/taro/demo7.tsx +++ b/src/packages/image/demos/taro/demo7.tsx @@ -1,12 +1,12 @@ import React from 'react' -import { Cell, Col, Image } from '@nutui/nutui-react-taro' +import { Row, Col, Image } from '@nutui/nutui-react-taro' const Demo7 = () => { const src = 'https://storage.360buyimg.com/imgtools/e067cd5b69-07c864c0-dd02-11ed-8b2c-d7f58b17086a.png' return ( <> - + {[ 'top', 'bottom', @@ -24,7 +24,7 @@ const Demo7 = () => { ) })} - + ) }