mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 22:51:25 +08:00
更新匹配图片描述
This commit is contained in:
parent
1b9c9e6e2f
commit
da772d2bc5
@ -77,7 +77,7 @@ const commandTypes = {
|
|||||||
minNum: 1,
|
minNum: 1,
|
||||||
}, ],
|
}, ],
|
||||||
verify: rules => !!rules > 0 || "正则不能为空",
|
verify: rules => !!rules > 0 || "正则不能为空",
|
||||||
tempPayload: async () => {
|
tempPayload: async() => {
|
||||||
let values = await quickcommand.showInputBox(["需要处理的文本"])
|
let values = await quickcommand.showInputBox(["需要处理的文本"])
|
||||||
return values[0]
|
return values[0]
|
||||||
}
|
}
|
||||||
@ -97,7 +97,7 @@ const commandTypes = {
|
|||||||
minNum: 1,
|
minNum: 1,
|
||||||
}],
|
}],
|
||||||
verify: rules => true,
|
verify: rules => true,
|
||||||
tempPayload: async () => {
|
tempPayload: async() => {
|
||||||
let values = await quickcommand.showInputBox(["需要处理的文本"])
|
let values = await quickcommand.showInputBox(["需要处理的文本"])
|
||||||
return values[0]
|
return values[0]
|
||||||
}
|
}
|
||||||
@ -126,7 +126,7 @@ const commandTypes = {
|
|||||||
matchLabel: "无需配置",
|
matchLabel: "无需配置",
|
||||||
icon: "panorama",
|
icon: "panorama",
|
||||||
color: "deep-orange",
|
color: "deep-orange",
|
||||||
desc: "匹配主输入框或超级面板选中的图片,并返回图片的 DataUrl",
|
desc: "匹配剪贴板的图片,并返回图片的 DataUrl",
|
||||||
valueType: null,
|
valueType: null,
|
||||||
disabledSpecialVars: /{{input}}|{{SelectFile}}|{{pwd}}|{{WindowInfo.*?}}|{{MatchedFiles.*?}}/g,
|
disabledSpecialVars: /{{input}}|{{SelectFile}}|{{pwd}}|{{WindowInfo.*?}}|{{MatchedFiles.*?}}/g,
|
||||||
matchToCmds: (rules, desc) => [{
|
matchToCmds: (rules, desc) => [{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user