Permalink
Browse files

fix: 日期组件增加hide方法

  • Loading branch information...
1 parent 740fa34 commit 870985bf4929118babbffa9f1e6ea7a9f3b5fd5b liuyk committed Nov 1, 2016
Showing with 6 additions and 0 deletions.
  1. +6 −0 js/neoui-datetimepicker.js
@@ -1300,6 +1300,12 @@ DateTimePicker.fn.onOk = function(){
this.trigger('validate');
}
+DateTimePicker.fn.hide = function(){
+ this.isShow = false;
+ this.timeOpen = false;
+ removeClass(this._panel, 'is-visible');
+}
+
/**
* 确定事件
*/

0 comments on commit 870985b

Please sign in to comment.