Skip to content

Grid组件和Form组件组合使用时,form-item存在空数据时会导致col错位问题 #2772

@zhuojun1024

Description

@zhuojun1024
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.6.5

Environment

Vue版本:2.6.11,浏览器版本:Chrome 84.0.4147.135(正式版本) (64 位)

Reproduction link

Edit on CodeSandbox

Steps to reproduce

如案例所示,当同一行中,form-item中有label但没有给form-item设置内容时,会导致col出现预期外的布局。

What is expected?

无论form-item中有没有内容,都不应该影响到col布局

What is actually happening?

col发生了错位

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions