【bug】uniapp 小程序 input输入框不显示
报错信息:Do not nest other components in the text component, as there may be display differences on different platforms.原因:text中不能嵌套组件,input放置在text中导致小程序中不能正常显示(网页端调试正常)
·
报错信息:Do not nest other components in the text component, as there may be display differences on different platforms.
原因:text中不能嵌套组件,input放置在text中导致小程序中不能正常显示(网页端调试正常)
原代码:
<text><input type="text" ></text>
修改:
<view><input type="text"></view>
更多推荐
所有评论(0)