flowTabs添加变量type的注释

This commit is contained in:
fofolee 2025-02-13 00:49:18 +08:00
parent 5960acd201
commit dcac385dbd

View File

@ -210,6 +210,11 @@ export default defineComponent({
* [
* { name: "变量名", type: "变量类型", sourceCommand: { label: "变量来源" , index?: 来源命令索引, id?: 来源命令id} }
* ]
*
* type:
* 1. output: 输出变量
* 2. param: 函数参数
* 3. var: 局部变量
*/
const getCurrentVariables = () => {
const currentFlow = getCurrentFlow();