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';
22import defaultLocaleData from './default' ;
33
44export default {
5+ name : 'LocaleReceiver' ,
56 props : {
67 componentName : PropTypes . string . def ( 'global' ) ,
78 defaultLocale : PropTypes . oneOfType ( [ PropTypes . object , PropTypes . func ] ) ,
Original file line number Diff line number Diff line change 11import * as moment from 'moment' ;
22import interopDefault from '../_util/interopDefault' ;
3- import { cloneElement } from '../_util/vnode' ;
43import { initDefaultProps , getListeners } from '../_util/props-util' ;
54import Statistic , { StatisticProps } from './Statistic' ;
65import { formatCountdown } from './utils' ;
@@ -70,13 +69,7 @@ export default {
7069 return formatCountdown ( value , { ...config , format } ) ;
7170 } ,
7271
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 ,
8073 } ,
8174
8275 render ( ) {
You can’t perform that action at this time.
0 commit comments