File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import PropTypes from '../_util/vue-types';
2
2
import defaultLocaleData from './default' ;
3
3
4
4
export default {
5
+ name : 'LocaleReceiver' ,
5
6
props : {
6
7
componentName : PropTypes . string . def ( 'global' ) ,
7
8
defaultLocale : PropTypes . oneOfType ( [ PropTypes . object , PropTypes . func ] ) ,
Original file line number Diff line number Diff line change 1
1
import * as moment from 'moment' ;
2
2
import interopDefault from '../_util/interopDefault' ;
3
- import { cloneElement } from '../_util/vnode' ;
4
3
import { initDefaultProps , getListeners } from '../_util/props-util' ;
5
4
import Statistic , { StatisticProps } from './Statistic' ;
6
5
import { formatCountdown } from './utils' ;
@@ -70,13 +69,7 @@ export default {
70
69
return formatCountdown ( value , { ...config , format } ) ;
71
70
} ,
72
71
73
- // Countdown do not need display the timestamp
74
- valueRenderHtml : node =>
75
- cloneElement ( node , {
76
- props : {
77
- title : undefined ,
78
- } ,
79
- } ) ,
72
+ valueRenderHtml : node => node ,
80
73
} ,
81
74
82
75
render ( ) {
You can’t perform that action at this time.
0 commit comments