Browse Source

Pull request #2366: 无JIAR任务 chore: 优化下写法

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'bb14837c3b73705f4438a0a8b6600f46d2e0569c':
  chore: 优化下写法
es6
guy 3 years ago
parent
commit
2f3b2d9df3
  1. 1
      src/case/calendar/calendar.js

1
src/case/calendar/calendar.js

@ -96,6 +96,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
this.days = BI.createWidget({ this.days = BI.createWidget({
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(this._getItems(), {}), items: BI.createItems(this._getItems(), {}),
value: o.year + "-" + o.month + "-" + o.day,
layouts: [BI.LogicFactory.createLogic("table", BI.extend({}, o.logic, { layouts: [BI.LogicFactory.createLogic("table", BI.extend({}, o.logic, {
columns: 7, columns: 7,
rows: 6, rows: 6,

Loading…
Cancel
Save