Skip to content

Commit 785cd55

Browse files
committed
chore: only change print
1 parent 667ee45 commit 785cd55

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ export default class ExamplePluginSimple implements PluginInterface {
5353
const selected = ctx.env.selectedText;
5454
if (selected && selected.trim() !== '') {
5555
// 如果有选中文本,在其后追加问候
56-
ctx.api.sendText(`${selected}Hello World!`);
56+
ctx.api.sendText(`${selected}ExamplePluginSimply!`);
5757
} else {
5858
// 否则直接输出
59-
// ctx.api.sendText('Hello World!');
59+
// ctx.api.sendText('ExamplePluginSimply!');
6060

6161
// 否则显示面板
6262
ctx.api.hidePanel(['menu'])
6363
ctx.api.showPanel(['example-plugin-simple-panel'])
6464
}
6565

66-
ctx.api.notify('Hello World plugin executed ✅');
66+
ctx.api.notify('ExamplePluginSimply plugin executed ✅');
6767
}
6868
}

0 commit comments

Comments
 (0)