improve(plugin): rename api & bump minor version

This commit is contained in:
charlie
2021-07-02 10:51:44 +08:00
parent 18c292ec5e
commit 153f8f3202
4 changed files with 5 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ const app: Partial<IAppProxy> = {
return false
},
registerPagebarMenuItem (
registerPageMenuItem (
this: LSPluginUser,
tag: string,
action: (e: IHookEvent & { page: string }) => void
@@ -81,7 +81,7 @@ const app: Partial<IAppProxy> = {
const key = tag + '_' + this.baseInfo.id
const label = tag
const type = 'pagebar-menu-item'
const type = 'page-menu-item'
registerSimpleCommand.call(this,
type, {