Skip to content

Commit

Permalink
修复time组件不能使用的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hzcuiziqiang committed Feb 18, 2019
1 parent 445d1b1 commit c44f00e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/components/form/KLDate/entry/time.picker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import KLTimeRangePanel from '../../panel/time.range/index';
import KLDrop from '../../../../layout/KLDrop/index';
import KLDropHeader from '../../../../layout/KLDrop/KLDropHeader/index';

export default Component.extend({
const KLTimePicker = Component.extend({
name: 'kl-time-picker',
template,
config() {
Expand Down Expand Up @@ -42,3 +42,4 @@ export default Component.extend({
.component('kl-time-range-panel', KLTimeRangePanel)
.component('kl-time-panel', KLTimePanel);

module.exports = KLTimePicker;

0 comments on commit c44f00e

Please sign in to comment.