mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
docs: remove redundant quote
This commit is contained in:
parent
43628b9848
commit
9bbfe534b2
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user