fix: 修复使用隐藏字段时表单渲染报错的bug
This commit is contained in:
@ -109,7 +109,7 @@
|
|||||||
|
|
||||||
function getColWidth(schema: any) {
|
function getColWidth(schema: any) {
|
||||||
const compProps = schema.componentProps;
|
const compProps = schema.componentProps;
|
||||||
if (compProps.responsive) {
|
if (compProps?.responsive) {
|
||||||
if (compProps.respNewRow) {
|
if (compProps.respNewRow) {
|
||||||
return 24; // 响应式布局下独立成行
|
return 24; // 响应式布局下独立成行
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user