mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix(#92): 无法查看面板
This commit is contained in:
parent
b6d0bb165a
commit
6a859a8dca
1 changed files with 6 additions and 3 deletions
|
|
@ -32,8 +32,10 @@ export class Panel extends ZZZPlugin {
|
|||
fnc: 'getCharOriImage',
|
||||
},
|
||||
],
|
||||
handler: [{ key: 'zzz.tool.panel', fn: 'getCharPanelTool' }],
|
||||
handler: [{ key: 'zzz.tool.panelList', fn: 'getCharPanelListTool' }],
|
||||
handler: [
|
||||
{ key: 'zzz.tool.panel', fn: 'getCharPanelTool' },
|
||||
{ key: 'zzz.tool.panelList', fn: 'getCharPanelListTool' },
|
||||
],
|
||||
});
|
||||
}
|
||||
async handleRule() {
|
||||
|
|
@ -124,7 +126,8 @@ export class Panel extends ZZZPlugin {
|
|||
await this.reply(`未找到角色${name}的面板信息,请先刷新面板`);
|
||||
return;
|
||||
}
|
||||
let handler = this.e.runtime?.handler || {};
|
||||
let handler = this.e.runtime.handler || {};
|
||||
|
||||
if (handler.has('zzz.tool.panel')) {
|
||||
await handler.call('zzz.tool.panel', this.e, {
|
||||
uid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue