摘要: 方法1: import React from 'react'; import './CommentList.css' class CommentList extends React.Component { constructor(props) { super(props) } handleDelet 阅读全文
posted @ 2021-02-03 17:29 starlog 阅读(651) 评论(0) 推荐(0) 编辑
摘要: import React from 'react' class App extends React.Component { render() { const boss = '李云龙' return ( <div> <h2>独立团团长,{boss}</h2> <Battalion1 boss='张大喵 阅读全文
posted @ 2021-02-03 17:27 starlog 阅读(154) 评论(0) 推荐(0) 编辑
摘要: html { font-size: 20px; } label { width: 5rem; height: 2rem; display: block; margin: 0 auto; line-height: 2rem; text-align: center; } 阅读全文
posted @ 2021-02-03 17:14 starlog 阅读(1049) 评论(0) 推荐(0) 编辑