dev_auth
杨树林 5 years ago
parent e5621720a8
commit 30e0c87fdd

@ -32,7 +32,7 @@ module.exports = {
// See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.s
// devtool: "cheap-module-eval-source-map",
// 开启调试
//devtool: "source-map", // 开启调试
devtool: "source-map", // 开启调试
// These are the "entry points" to our application.
// This means they will be the "root" imports that are included in JS bundle.
// The first two entry points enable "hot" CSS and auto-refreshes for JS.
@ -153,8 +153,8 @@ module.exports = {
include: paths.appSrc,
loader: require.resolve('babel-loader'),
options: {
// This is a feature of `babel-loader` for webpack (not Babel itself).
// This is a feature of `babel-loader` for webpack (not Babel itself).
// It enables caching results in ./node_modules/.cache/babel-loader/
// directory for faster rebuilds.
cacheDirectory: true,

@ -315,12 +315,12 @@ class CompetitionContentspdfpeopledata extends Component {
console.log(emailbool);
return (
<div className="flexdidirectionss mt17">
{this.state.certification === 1 ? <RealNameCertificationModal {...this.props}
{this.state.certification === 1 ? <RealNameCertificationModal {...this.props} {...this.state}
wrappedComponentRef={(form) => this.realNameCertificationModal1 = form}
certification={certification}
></RealNameCertificationModal> : ""}
{this.state.certification === 2 ? <RealNameCertificationModal {...this.props}
{this.state.certification === 2 ? <RealNameCertificationModal {...this.props} {...this.state}
wrappedComponentRef={(form) => this.realNameCertificationModal2 = form}
certification={certification}
></RealNameCertificationModal> : ""}

Loading…
Cancel
Save