规范使用的函数

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,
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",

View File

@ -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",

View File

@ -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: [
{

View File

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