Hello World Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. 2025-05-27
typescript组件中的默认属性 我们经常会使用到默认参数,例如: int sum(int a, int b = 1){ return a+b; } 而在前端的 js/ts 中组件也有 默认属性 的概念。 javascript 的默认属性比较容易实现,与 c++ 等类似。 // 以下js的默认属性实现代码参考react官网 import { getImageUrl & 2025-05-27 #react #typescript
ubuntu搭建饥荒专用服务器教程 游戏:饥荒联机版(Steam) 测试服务器:Ubuntu22.04 2核2G内存 3M带宽(京东云) 本次搭建是在完全纯净的ubuntu22.04系统上进行的,所以如果您保持一致,按照步骤即可搭建。 本文主要讲解搭建饥荒服务器,为了文章不臃肿,如何ssh连接远程服务器请自行前往浏览器或者b站学习,一般都有十分方便的软件。 本文中有不少链接,如果您对某一部分(例如steamcmd或 2024-06-16 #ubuntu #游戏