Browse Source

REPORT-90850 fix:修改属性名,防止与父组件高度冲突

research/test
Claire 2 years ago
parent
commit
66ea45c9f9
  1. 8
      src/widget/dynamicdatetime/dynamicdatetime.timeselect.js

8
src/widget/dynamicdatetime/dynamicdatetime.timeselect.js

@ -3,7 +3,7 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, {
props: function () { props: function () {
return { return {
baseCls: "bi-date-time-select", baseCls: "bi-date-time-select",
height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT, editorHeight: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT,
}; };
}, },
@ -46,7 +46,7 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, {
} }
}], }],
width: 60, width: 60,
height: o.height, height: o.editorHeight,
} }
}, { }, {
type: "bi.label", type: "bi.label",
@ -82,7 +82,7 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, {
} }
}], }],
width: 60, width: 60,
height: o.height, height: o.editorHeight,
}, { }, {
type: "bi.label", type: "bi.label",
text: ":", text: ":",
@ -111,7 +111,7 @@ BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, {
} }
}], }],
width: 60, width: 60,
height: o.height, height: o.editorHeight,
}] }]
}] }]
}; };

Loading…
Cancel
Save