no message

This commit is contained in:
chenxuan
2024-04-12 14:01:58 +08:00
parent 59dfc3e6b3
commit d0b332c53c
4 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class App extends React.Component {
}
render() {
return (
<div>
<div className="app1">
<h2>当前组件state:{this.state.age}</h2>
<h2>props:{this.props.title}</h2>
<h2>props:{this.props.name}</h2>