Merge pull request #2654 from beautiful-boyyy/develop

fix: fixed string trim issue
This commit is contained in:
唐澜 2023-11-15 16:49:13 +08:00 committed by GitHub
commit 629eaf84fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -901,9 +901,6 @@ export default function baseRendererFactory(): IBaseRenderComponent {
});
return checkProps(res);
}
if (typeof props === 'string') {
return checkProps(props.trim());
}
return checkProps(props);
};