摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>类</title> <script> class MyClass{ constructor() { // this.fn = this.fn.bind(this 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(13) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>JSX的注意</title> <script src="script/react.development.js"></script> <script src=" 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(35) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>JSX</title> <script src="script/react.development.js"></script> <script src="scr 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(29) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>三个API</title> <script src="script/react.development.js"></script> <script src="s 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>三个API</title> <script src="script/react.development.js"></script> <script src="s 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(33) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>类</title> <script> /* * 类 * - 类是对象的模板 * - 类决定了一个对象中有哪些属性和方法 * - 使用class关键字来定义一个类 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(17) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>Hello World</title> <!--引入react的核心库--> <script src="script/react.development.js" 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(14) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>静态属性</title> <script> /* * 直接通过类调用的属性和方法被称为静态属性和静态方法 * */ class MyClass { // 使用s 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(50) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>数组的方法</title> <script> const arr = [1, 2, 3, 4, 5]; /* * map() * - 可以根据原有数组返回一个新 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(168) 评论(0) 推荐(0)
摘要: <Popover style={{ width: "100%"}} placement="top" content={content}> <Tabs hideAdd onChange={onChange} activeKey={activeKey} type="editable-card" onEd 阅读全文
posted @ 2022-11-05 20:41 前端导师歌谣 阅读(21) 评论(0) 推荐(0)