Permalink
Browse files

fix: 修改年月控件设置format不起作用的bug

  • Loading branch information...
HuYuee committed Jul 3, 2017
1 parent add000e commit 7759858e501042bd7488789fdce37e0cf82b9811
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/keroa-yearmonth.js
View
@@ -13,10 +13,11 @@ var YearMonthAdapter = u.BaseAdapter.extend({
init: function() {
var self = this;
this.validType = 'yearmonth';
this.format = this.getOption('format');
this.comp = new YearMonth({
el: this.element,
showFix: this.options.showFix
showFix: this.options.showFix,
format: this.format
});

0 comments on commit 7759858

Please sign in to comment.