floweditor 修正

This commit is contained in:
maxiaozhe
2023-10-26 09:15:34 +09:00
parent f6d677b51f
commit ead6658455
6 changed files with 392 additions and 136 deletions

View File

@@ -74,8 +74,9 @@ export const useFlowEditorStore = defineStore("flowEditor",{
if(actionFlows && actionFlows.length>0){
this.selectFlow(actionFlows[0]);
}
const expandName =actionFlows[0].getRoot()?.title;
this.expandedScreen=[expandName];
const expandNames = actionFlows.map(flow=>flow.getRoot()?.title);
// const expandName =actionFlows[0].getRoot()?.title;
this.expandedScreen=expandNames;
},
/**
* フローをDBに保存及び更新する