fix(tsconfig): 修改ts提示

This commit is contained in:
NICE CODE BY DEV 2024-06-12 13:47:28 +08:00
parent 012aaacb66
commit 28822b45d8

View File

@ -51,7 +51,6 @@ const ComBineImage: FC<ComBineImageProps> = forwardRef((props, ref) => {
<Flex className={componentName} justify='space-between' align='center' >
<CompareImage
ref={targetImageRef}
// @ts-ignore
height={height as string}
width="400px"
preDisable={prevDisable}
@ -68,7 +67,7 @@ const ComBineImage: FC<ComBineImageProps> = forwardRef((props, ref) => {
<CompareImage
ref={compareImageRef}
width="400px"
height={height}
height={height as string}
url={compaterImage}
openRoll={false}
score={score}