引入moment时使用中文

import moment from 'moment';

moment.locale('zh-cn');或者moment.lang('zh-cn');即可显示中文

你可能感兴趣的:(引入moment时使用中文)