dev_forum
杨树林 5 years ago
parent 295941847a
commit 85ac1dfdf0

@ -128,14 +128,17 @@ class LoginRegisterComponent extends Component {
console.log("11111111111111111111111111"); console.log("11111111111111111111111111");
this.state = { this.state = {
tab:["0"], tab:["0"],
pciphone:pcipns,
} }
} else if (this.props.match.url === "/register") { } else if (this.props.match.url === "/register") {
this.state = { this.state = {
tab:["1"], tab:["1"],
pciphone:pcipns,
} }
} }
this.setState({
pciphone:pcipns,
})
} }

Loading…
Cancel
Save