Browse Source

REPORT-77246 fix: 根据review建议修改代码

master
Kitetop 2 years ago
parent
commit
f02eedd0b9
  1. 6
      src/widget/time/time.combo.js

6
src/widget/time/time.combo.js

@ -60,11 +60,11 @@
} }
}; };
return { return {
type: "bi.htape",
items: [{
type: "bi.horizontal_fill", type: "bi.horizontal_fill",
cls: "bi-border bi-border-radius", cls: "bi-border bi-border-radius",
columnSize: ["fill", this.constants.iconWidth], columnSize: ["fill", this.constants.iconWidth],
height: opts.height - 2,
width: opts.width - 2,
items: [{ items: [{
el: { el: {
type: "bi.combo", type: "bi.combo",
@ -176,7 +176,6 @@
type: "bi.icon_button", type: "bi.icon_button",
cls: "bi-trigger-icon-button time-font", cls: "bi-trigger-icon-button time-font",
width: this.constants.iconWidth, width: this.constants.iconWidth,
height: opts.height - 2,
listeners: [{ listeners: [{
eventName: BI.IconButton.EVENT_CHANGE, eventName: BI.IconButton.EVENT_CHANGE,
action: function () { action: function () {
@ -192,7 +191,6 @@
} }
}, },
}] }]
}]
}; };
}, },

Loading…
Cancel
Save