尝试下面这种写法

import moment from 'moment/dist/moment';
import zhCn from 'moment/dist/locale/zh-cn';
moment.locale('zh-cn',zh);