组件升级

dev_daiao
杨树明 5 years ago
parent 6a3ce7cdb0
commit 3abf3f7975

@ -2,7 +2,7 @@ import React, {Component} from 'react';
import './public-path';
import logo from './logo.svg';
import './App.css';
import {LocaleProvider} from 'antd'
import {ConfigProvider} from 'antd'
import zhCN from 'antd/lib/locale-provider/zh_CN';
import {
BrowserRouter as Router,
@ -483,7 +483,7 @@ class App extends Component {
// console.log(mygetHelmetapi);
return (
<Provider store={store}>
<LocaleProvider locale={zhCN}>
<ConfigProvider locale={zhCN}>
<MuiThemeProvider theme={theme}>
<Accountnewprofile {...this.props}{...this.state}/>
<LoginDialog {...this.props} {...this.state} Modifyloginvalue={()=>this.Modifyloginvalue()}></LoginDialog>
@ -710,7 +710,7 @@ class App extends Component {
</Switch>
</Router>
</MuiThemeProvider>
</LocaleProvider>
</ConfigProvider>
</Provider>
);
}

Loading…
Cancel
Save