docs: remove redundant quote

This commit is contained in:
Wei Zhu 2017-12-07 15:42:47 +08:00
parent 43628b9848
commit 9bbfe534b2
2 changed files with 3 additions and 1 deletions

View File

@ -69,6 +69,7 @@ import { LocaleProvider, DatePicker, message } from 'antd';
import frFR from 'antd/lib/locale-provider/fr_FR';
import moment from 'moment';
import 'moment/locale/fr';
moment.locale('fr');
class App extends React.Component {

View File

@ -67,7 +67,8 @@ import { LocaleProvider, DatePicker, message } from 'antd';
// 由于 antd 组件的默认文案是英文,所以需要修改为中文
import zhCN from 'antd/lib/locale-provider/zh_CN';
import moment from 'moment';
import 'moment/locale/zh-cn';'
import 'moment/locale/zh-cn';
moment.locale('zh-cn');
class App extends React.Component {