left menu 修正

This commit is contained in:
2024-02-03 11:55:44 +09:00
parent 3159366560
commit 8fecde4c42
4 changed files with 24 additions and 6 deletions

View File

@@ -57,6 +57,8 @@ import {ref,reactive,computed,onMounted} from 'vue';
import {IActionNode, ActionNode, IActionFlow, ActionFlow,RootAction, IActionProperty } from 'src/types/ActionTypes';
import { storeToRefs } from 'pinia';
import { useFlowEditorStore } from 'stores/flowEditor';
import { authStore, useAuthStore } from 'stores/useAuthStore';
import NodeItem from 'src/components/main/NodeItem.vue';
import ShowDialog from 'components/ShowDialog.vue';
import ActionSelect from 'components/ActionSelect.vue';
@@ -67,10 +69,10 @@ import {FlowCtrl } from '../control/flowctrl';
import { useQuasar } from 'quasar';
const deployLoading = ref(false);
const saveLoading = ref(false);
const drawerLeft = ref(false);
const $q=useQuasar();
const store = useFlowEditorStore();
const authStore =useAuthStore();
// ref関数を使ってtemplateとバインド
const state=reactive({
activeNode:{
@@ -222,6 +224,7 @@ const fetchData = async ()=>{
}
onMounted(() => {
authStore.toggleLeftMenu();
fetchData();
});
</script>