Skip to content

Update index.ts - 在command-updated事件里添加执行 this.refresh() #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shangxueink
Copy link

@shangxueink shangxueink commented Apr 8, 2025

在开启指令插件时,注册的指令有时不会显示出来,

但是关开一下commands插件之后 就会正常显示了


在此处加上 this.refresh() 可以很好的解决这一问题,

能让插件注册的指令 正常显示出来


效果对比:

recording

recording

Copy link
Contributor

@CyanChanges CyanChanges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
應該沒問題

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