We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb53290 commit eadca09Copy full SHA for eadca09
1 file changed
src/index.ts
@@ -56,7 +56,11 @@ export default class ExamplePluginSimple implements PluginInterface {
56
ctx.api.sendText(`${selected} — Hello World!`);
57
} else {
58
// 否则直接输出
59
- ctx.api.sendText('Hello World!');
+ // ctx.api.sendText('Hello World!');
60
+
61
+ // 否则显示面板
62
+ ctx.api.hidePanel(['menu'])
63
+ ctx.api.showPanel(['example-plugin-simple-panel'])
64
}
65
66
ctx.api.notify('Hello World plugin executed ✅');
0 commit comments