友友帮忙要到了这张图的授权,导出的二维码有背景了。
好了
小小更新了一下站内链接,现在同一栋楼互相跳不会重载了。
需要用markdown格式的链接而不是资料卡
我这个目录系统做得那么好,好想插件化,我再研究一下有没有办法在不碰内核的情况下做成拓展。
因为免费时间没剩几天了,工作重点放在整理已有代码打包发布而不是开发新需求上✔️
把目录从改文件变成插件遇到了点问题,去官方发帖问问吧,存个档。
How can I extend route resolver?
As I am writing TOC for flarum, I need to prevent the action to scroll to post sometimes. I changed DiscussionPageResolver.ts. It works.
However when I want to write it as a plugin, using override
, the discussion page component can not be loaded. I printed the output, which shows that it is the same as when not using override
: the output component is correct.
(I guess it might because I replaced the syntax super
to this.__proto__.proto__.xx.bind(this)()
)
—–今天一口气分享了仨插件,爽。
还有很多早期代码是在其他人插件的基础上改的,我寻思一下怎么提取出来打包分享。
还在官方社区扩到了盖房的简中妹,乐。