摘要:
以行溢出为例,问题代码 .pa { grid-template-rows: min-content 1fr; } 解决问题需将 1fr 改为 minmax(0, 1fr) .pa { grid-template-rows: min-content minmax(0, 1fr); } 阅读全文
2025年3月11日 #
2024年12月27日 #
摘要:
Debian 启动 Docker 遇到错误; stderr: Job for docker.service failed because the control process exited with error code 执行 journalctl -xeu docker.service 得到错误 阅读全文
2024年12月20日 #
摘要:
向 Service 注入另一 Service ,如下图 export class MemeService { public constructor( @Inject() private readonly anotherMemeService: AnotherMemeService, // ... ) 阅读全文
2024年11月26日 #
摘要:
PHP 中带有中文字符串的截取可以直接使用 substr 方法,无需使用 mb_substr。 <?php $s = '<?xml version="1.0" ?><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:B 阅读全文
2024年11月20日 #
摘要:
对于 IDEA Community 中的 Lombok 注解内容,尤其是 Getter 和 Setter 注解内容爆红,可能的原因有如下: 未正常引入 lombok-*.jar; 未安装 Lombok 插件; 对于未正常引入 Lombok 的情况,引入后重启 IDEA 即可;对于未安装 Lombok 阅读全文
2024年9月5日 #
摘要:
确定 pages.json 文件中 “tabBar” 中的所有页面标签已在 “pages” 中定义,该页面文件在文件系统中存在; 确定所有的页面都已正确导出:存在 script 标签块并且已使用 export default 导出; 阅读全文
2024年9月2日 #
摘要:
对象序列化为字节流,再从字节流反序列化为新的对象。 阅读全文