fix: fixed string trim issue

This commit is contained in:
beautiful-boyyy 2023-11-15 15:18:18 +08:00 committed by JackLian
parent 349d005bed
commit 6a0d1e2d1f

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);
};