摘要: 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(39) 评论(0) 推荐(0)
摘要: export default {} class GetNameClass { private _fullName: string = "倪妮"; // 需求:我们就想要在外部进行修改 _fullName 那怎么办? get fullName():string { console.log("我是get 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(19) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(31) 评论(0) 推荐(0)
摘要: export default {} class Person { public name: string; protected age: number; private sex: string; constructor(name: string, age: number, sex: string){ 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(16) 评论(0) 推荐(0)
摘要: const onAddMenu = useCallback(() => { setCurrentMenu(null); setEditVisible(true); }, []); const onTableChange = useCallback(({ current, pageSize }: Pa 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(22) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(19) 评论(0) 推荐(0)
摘要: export default {} // static class StaticTest { static salary: string; static say():void { console.log("我们想要的工资是: " + this.salary); } } StaticTest.sala 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(26) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(23) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(14) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-30 20:41 前端导师歌谣 阅读(21) 评论(0) 推荐(0)