44444
This commit is contained in:
@@ -41,8 +41,8 @@ function Count(props){
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
</select>
|
||||
<button onClick={increement}>+</button>
|
||||
<button onClick={decreement}>-</button>
|
||||
<button onClick={increement}>加+</button>
|
||||
<button onClick={decreement}>减-</button>
|
||||
<button onClick={increementOdd}>计数再加</button>
|
||||
<button onClick={increementSync}>异步再加</button>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
margin-top: 20px;
|
||||
margin-left: 20px;
|
||||
padding: 12px;
|
||||
border: 1px solid green;
|
||||
border: 4px solid green;
|
||||
|
||||
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
margin-top: 20px;
|
||||
margin-left: 20px;
|
||||
padding: 12px;
|
||||
border: 1px solid red;
|
||||
border: 4px solid red;
|
||||
.item{
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
|
||||
Reference in New Issue
Block a user