This commit is contained in:
XTT-20201225UUE\Administrator
2021-07-03 09:21:58 +08:00
parent 4a43efe670
commit cf2964dfbe
3 changed files with 4 additions and 3 deletions
View File
+3 -1
View File
@@ -14,7 +14,9 @@ class App extends React.Component {
super(); super();
this.state = {}; this.state = {};
} }
componentDidMount() {} componentDidMount() {
}
render() { render() {
return ( return (
<div> <div>
+1 -2
View File
@@ -4,8 +4,7 @@ export default function Hoc(WithComponent) {
constructor() { constructor() {
super(); super();
this.state = { this.state = {
username: "", username: ""
password: "",
}; };
} }
setUsername(e) { setUsername(e) {