mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-17 08:54:19 +08:00
编排初步实现条件判断
This commit is contained in:
12
src/js/composer/commands/controlCommands.js
Normal file
12
src/js/composer/commands/controlCommands.js
Normal file
@@ -0,0 +1,12 @@
|
||||
export const controlCommands = {
|
||||
label: "流程控制",
|
||||
icon: "call_split",
|
||||
commands: [
|
||||
{
|
||||
value: "condition",
|
||||
label: "条件判断",
|
||||
component: "ConditionalJudgment",
|
||||
isControlFlow: true,
|
||||
},
|
||||
],
|
||||
};
|
||||
@@ -5,6 +5,7 @@ import { notifyCommands } from "./notifyCommands";
|
||||
import { textProcessingCommands } from "./textProcessingCommands";
|
||||
import { otherCommands } from "./otherCommands";
|
||||
import { keyCommands } from "./keyCommands";
|
||||
import { controlCommands } from "./controlCommands";
|
||||
|
||||
export const commandCategories = [
|
||||
fileCommands,
|
||||
@@ -12,6 +13,7 @@ export const commandCategories = [
|
||||
systemCommands,
|
||||
notifyCommands,
|
||||
textProcessingCommands,
|
||||
controlCommands,
|
||||
otherCommands,
|
||||
keyCommands,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user