规范使用的函数

This commit is contained in:
fofolee 2025-01-05 23:32:11 +08:00
parent 5ac107d4b6
commit 38617df03c
4 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@ export const dataCommands = {
defaultOpened: false, defaultOpened: false,
commands: [ commands: [
{ {
value: "quickcomposer.data", value: "quickcomposer.data.base64Encode",
label: "编解码", label: "编解码",
desc: "文本编解码", desc: "文本编解码",
icon: "code", icon: "code",
@ -74,7 +74,7 @@ export const dataCommands = {
component: "AsymmetricCryptoEditor", component: "AsymmetricCryptoEditor",
}, },
{ {
value: "quickcomposer.data", value: "quickcomposer.data.md5Hash",
label: "哈希计算", label: "哈希计算",
desc: "计算文本的哈希值", desc: "计算文本的哈希值",
icon: "enhanced_encryption", icon: "enhanced_encryption",

View File

@ -4,11 +4,11 @@ export const networkCommands = {
defaultOpened: true, defaultOpened: true,
commands: [ commands: [
{ {
value: "visit", value: "utools.shellOpenExternal",
label: "默认浏览器打开网址", label: "默认浏览器打开网址",
config: [ config: [
{ {
key: "url", key: "visit",
label: "要访问的网址链接", label: "要访问的网址链接",
type: "varInput", type: "varInput",
icon: "language", icon: "language",

View File

@ -8,7 +8,7 @@ export const notifyCommands = {
label: "打印消息", label: "打印消息",
config: [ config: [
{ {
key: "message", key: "log",
label: "要打印的消息文本", label: "要打印的消息文本",
type: "varInput", type: "varInput",
icon: "info", icon: "info",
@ -16,11 +16,11 @@ export const notifyCommands = {
], ],
}, },
{ {
value: "message", value: "utools.showNotification",
label: "发送系统消息", label: "发送系统消息",
config: [ config: [
{ {
key: "message", key: "notification",
label: "要发送的系统消息文本", label: "要发送的系统消息文本",
type: "varInput", type: "varInput",
icon: "message", icon: "message",
@ -28,7 +28,7 @@ export const notifyCommands = {
], ],
}, },
{ {
value: "send", value: "utools.hideMainWindowTypeString",
label: "发送文本到活动窗口", label: "发送文本到活动窗口",
config: [ config: [
{ {

View File

@ -4,7 +4,7 @@ export const systemCommands = {
defaultOpened: false, defaultOpened: false,
commands: [ commands: [
{ {
value: "copyTo", value: "electron.clipboard.writeText",
label: "将内容写入剪贴板", label: "将内容写入剪贴板",
config: [ config: [
{ {