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