Closed Nextdoor1u closed 1 month ago
感谢反馈,我这边测试一下
在规则中增加style: width: 100%;
即可解决
{
type: 'el-row',
native: true,
style: 'width: 100%;',
//....
}
在规则中增加
style: width: 100%;
即可解决{ type: 'el-row', native: true, style: 'width: 100%;', //.... }
好的谢谢大佬
版本号 @form-create/element-ui": "^3.2.0",
{ type: 'el-row', native: true, children: [ { type: 'el-col', props: { span: 24, }, children: [ { type: 'input', title: '员工状态1 :', field: 'staffStatus', value: '试用', props: { type: 'text', disabled: true, }, }, { type: 'input', title: '员工状态3 :', field: 'staffStatus', value: '试用', props: { type: 'text', disabled: true, }, }, ], }, { type: 'el-col', props: { span: 24, }, children: [ { type: 'input', title: '员工状态2 :', field: 'staffStatus', value: '试用', props: { type: 'text', disabled: true, }, }, ], }, ], },
这是代码运行后的效果 下面 111 是el-row正常布局的结果 添加后没有占满一行是什么原因呢