diff --git a/src/js/composer/commands/dataCommands.js b/src/js/composer/commands/dataCommands.js index 1ae2cfb..facf6ff 100644 --- a/src/js/composer/commands/dataCommands.js +++ b/src/js/composer/commands/dataCommands.js @@ -4,7 +4,7 @@ export const dataCommands = { defaultOpened: false, commands: [ { - value: "quickcomposer.data", + value: "quickcomposer.data.base64Encode", label: "编解码", desc: "文本编解码", icon: "code", @@ -74,7 +74,7 @@ export const dataCommands = { component: "AsymmetricCryptoEditor", }, { - value: "quickcomposer.data", + value: "quickcomposer.data.md5Hash", label: "哈希计算", desc: "计算文本的哈希值", icon: "enhanced_encryption", diff --git a/src/js/composer/commands/networkCommands.js b/src/js/composer/commands/networkCommands.js index 52b4884..e5bb43a 100644 --- a/src/js/composer/commands/networkCommands.js +++ b/src/js/composer/commands/networkCommands.js @@ -4,11 +4,11 @@ export const networkCommands = { defaultOpened: true, commands: [ { - value: "visit", + value: "utools.shellOpenExternal", label: "默认浏览器打开网址", config: [ { - key: "url", + key: "visit", label: "要访问的网址链接", type: "varInput", icon: "language", diff --git a/src/js/composer/commands/notifyCommands.js b/src/js/composer/commands/notifyCommands.js index c19f784..0013327 100644 --- a/src/js/composer/commands/notifyCommands.js +++ b/src/js/composer/commands/notifyCommands.js @@ -8,7 +8,7 @@ export const notifyCommands = { label: "打印消息", config: [ { - key: "message", + key: "log", label: "要打印的消息文本", type: "varInput", icon: "info", @@ -16,11 +16,11 @@ export const notifyCommands = { ], }, { - value: "message", + value: "utools.showNotification", label: "发送系统消息", config: [ { - key: "message", + key: "notification", label: "要发送的系统消息文本", type: "varInput", icon: "message", @@ -28,7 +28,7 @@ export const notifyCommands = { ], }, { - value: "send", + value: "utools.hideMainWindowTypeString", label: "发送文本到活动窗口", config: [ { diff --git a/src/js/composer/commands/systemCommands.js b/src/js/composer/commands/systemCommands.js index 3c44fad..a99a059 100644 --- a/src/js/composer/commands/systemCommands.js +++ b/src/js/composer/commands/systemCommands.js @@ -4,7 +4,7 @@ export const systemCommands = { defaultOpened: false, commands: [ { - value: "copyTo", + value: "electron.clipboard.writeText", label: "将内容写入剪贴板", config: [ {