Do not nest other components in the text component, as there may be display differences on different
报黄原因:在text里面嵌套了别的组件

解决: 把text改成view

博客讨论了在前端开发中遇到的一个常见问题,即在Text组件内嵌套其他组件可能导致在不同设备上的显示差异。解决方案是将Text替换为View组件来正确包裹内容,以确保跨平台一致性。
Do not nest other components in the text component, as there may be display differences on different
报黄原因:在text里面嵌套了别的组件


5532
163

被折叠的 条评论
为什么被折叠?