no message

This commit is contained in:
chenxuan
2024-04-16 10:39:40 +08:00
parent e54e9ecfeb
commit c650c5300a
4 changed files with 51 additions and 9 deletions
+2 -2
View File
@@ -18,11 +18,11 @@ class Header extends Component{
}
render(){
return(
<div>
<div className="header">
<h1>React route演示案例</h1>
<button onClick={this.back}>前进</button>
<button onClick={this.forward}>后退</button>
<button onClick={this.go}>后退2</button>
<button onClick={this.go}>后退2步骤</button>
</div>
)
}
+5
View File
@@ -45,4 +45,9 @@
}
.home .homeContent{
color: #333;
}
.header{
box-sizing: border-box;
padding-bottom: 12px;
border-bottom: 1px solid red;
}