mirai-mamori / Sakurairo

一个多彩、轻松上手、体验完善,具有强大自定义功能的WordPress主题(基于Sakura主题,支持简繁英日多语言)A Colorful, Easy-to-use, Perfect Experience, and Powerful Customizable WordPress Theme (Based on Theme Sakura. Support Simplified Chinese, Traditional Chinese, English and Japanese languages)
https://docs.fuukei.org
GNU General Public License v2.0
3.05k stars 352 forks source link

【Preview】意外的在空值上调用方法 #873

Closed kanodaisuki closed 6 months ago

kanodaisuki commented 6 months ago

image

复现

对于preview版本,关闭评论区后,就会出现。

相关代码

https://github.com/Fuukei/Sakurairo_Scripts/blob/796d0560e69f4a67527c35e6ae13f4de61e7619a/src/page/emoji.ts#L26

github-actions[bot] commented 6 months ago

@kanodaisuki,感谢你给 sakurairo 提出了 issue。ヾ(≧▽≦*)o 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

KotoriK commented 6 months ago

确实应该捕获一下,晚点改