Skip to content

fix: moments TypeError: Cannot read properties of null#625

Merged
LIlGG merged 2 commits into
LIlGG:mainfrom
AR-26710:fix/moments-TypeError
May 30, 2025
Merged

fix: moments TypeError: Cannot read properties of null#625
LIlGG merged 2 commits into
LIlGG:mainfrom
AR-26710:fix/moments-TypeError

Conversation

@AR-26710

@AR-26710 AR-26710 commented Apr 27, 2025

Copy link
Copy Markdown
Contributor

当前 最新main分支 如果开启了备案模式(关闭评论),则瞬间页会出现第二页无法完整加载、加载重复的情况。

可能是 0a23422 造成的。

如图:

image

@AR-26710

Copy link
Copy Markdown
Contributor Author

经测试,不是 0a23422 造成的,似乎是历史遗留问题,halo主题商店版本也有这问题。

@AR-26710 AR-26710 changed the title fix: 修复 moments TypeError: Cannot read properties of null fix: moments TypeError: Cannot read properties of null May 27, 2025
@LIlGG

LIlGG commented May 30, 2025

Copy link
Copy Markdown
Owner

感谢反馈与提交的 PR。确实存在这个问题,但当前 PR 并没有能完全修复,还是会有重复的内容出现。

@LIlGG

LIlGG commented May 30, 2025

Copy link
Copy Markdown
Owner

。重新测试了一下,重复的内容非当前 PR 所描述的问题。。即便关闭备案模式也会出现重复。

@LIlGG

LIlGG commented May 30, 2025

Copy link
Copy Markdown
Owner

如果修改了需要 build 的文件,提交时需要把 build 后的资源文件一起提交。

因为主题属于直接下载 code 源码就可以运行在 Halo 中的状态,后续不会进行 actions 之类的操作。

@LIlGG LIlGG merged commit e9c2841 into LIlGG:main May 30, 2025
1 check passed
@AR-26710

Copy link
Copy Markdown
Contributor Author

如果修改了需要 build 的文件,提交时需要把 build 后的资源文件一起提交。

因为主题属于直接下载 code 源码就可以运行在 Halo 中的状态,后续不会进行 actions 之类的操作。

哎呀!疏忽了,我是在我的master分支上修复的,代码CV过来没有测试就没有build,提交时也忘记build了。 这样的话,#629 也需要你bulid一下,麻烦了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants