mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-10-09 15:03:21 +08:00
界面自动化添加启用禁用元素功能
This commit is contained in:
@@ -491,6 +491,28 @@ export const windowsCommands = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "quickcomposer.windows.automation.enable",
|
||||
label: "启用/禁用元素",
|
||||
icon: "toggle_on",
|
||||
config: [
|
||||
{
|
||||
component: "OptionEditor",
|
||||
options: {
|
||||
enable: {
|
||||
component: "ButtonGroup",
|
||||
options: [
|
||||
{ label: "启用", value: true },
|
||||
{ label: "禁用", value: false },
|
||||
],
|
||||
},
|
||||
},
|
||||
defaultValue: {
|
||||
enable: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
value: "quickcomposer.windows.automation.expand",
|
||||
label: "展开/折叠",
|
||||
@@ -559,13 +581,6 @@ export const windowsCommands = {
|
||||
{
|
||||
component: "OptionEditor",
|
||||
options: {
|
||||
condition: {
|
||||
label: "条件",
|
||||
component: "VariableInput",
|
||||
icon: "filter_alt",
|
||||
width: 8,
|
||||
placeholder: "name=xx;type=Button",
|
||||
},
|
||||
timeout: {
|
||||
label: "超时(秒)",
|
||||
component: "NumberInput",
|
||||
|
Reference in New Issue
Block a user