摘要:
方法1: import React from 'react'; import './CommentList.css' class CommentList extends React.Component { constructor(props) { super(props) } handleDelet 阅读全文
摘要:
import React from 'react' class App extends React.Component { render() { const boss = '李云龙' return ( <div> <h2>独立团团长,{boss}</h2> <Battalion1 boss='张大喵 阅读全文
摘要:
html { font-size: 20px; } label { width: 5rem; height: 2rem; display: block; margin: 0 auto; line-height: 2rem; text-align: center; } 阅读全文