fix: fixed string trim issue

This commit is contained in:
beautiful-boyyy 2023-11-15 15:18:18 +08:00
parent 736cb0e965
commit 058e184b21

View File

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