摘要: 数据库相关概念 阅读全文
posted @ 2022-09-02 21:48 前端导师歌谣 阅读(24) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-02 21:48 前端导师歌谣 阅读(12) 评论(0) 推荐(0)
摘要: import React, { useEffect, useState } from "react"; interface IHelloProps { message?: string; } const MouseButton:React.FC = () => { const [like, setL 阅读全文
posted @ 2022-09-02 21:48 前端导师歌谣 阅读(10) 评论(0) 推荐(0)
摘要: 1 阅读全文
posted @ 2022-09-02 21:48 前端导师歌谣 阅读(11) 评论(0) 推荐(0)
摘要: import React, { useState } from "react"; interface IHelloProps { message?: string; } const LikeButton:React.FC = () => { const [like, setLike] = useSt 阅读全文
posted @ 2022-09-02 21:48 前端导师歌谣 阅读(27) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-02 21:48 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: import React from "react"; interface IHelloProps{ message?:string; } const Hello:React.FunctionComponent<IHelloProps>=(props)=>{ return <h2>{props.mes 阅读全文
posted @ 2022-09-02 21:48 前端导师歌谣 阅读(34) 评论(0) 推荐(0)
摘要: import React from "react"; interface IHelloProps{ message?:string; } const Hello:React.FunctionComponent<IHelloProps>=(props)=>{ return <h2>{props.mes 阅读全文
posted @ 2022-09-02 21:48 前端导师歌谣 阅读(28) 评论(0) 推荐(0)
摘要: function echo(arg:any):any{ return arg } const result=echo(123) function echo<T>(arg:T):T{ return arg } const result1=echo(123) function swap<T,U>(tup 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: enum Direction{ Up="Up", Down="Down", Left="Left", Right="Right" } console.log(Direction.Up)//0 console.log(Direction[0])//Up // 常量枚举 可以提升性能 const val 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(43) 评论(0) 推荐(0)