Skip to content

input组件,小程序端和h5端表现不一致 #282

Closed
@zhl1232

Description

问题描述
input组件编译会增加一层父节点,父节点的盒子模型在小程序和H5端表现不一致。

2
33

补充信息
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]
把小程序端的父节点改成
view {
box-sizing:border-box;
}
或者把H5端父节点样式注释,
div {
/* box-sizing: border-box; */
}
两边表现一致.

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions