fix: workflow navigator title
This commit is contained in:
parent
83d028ec15
commit
856f7f8587
1 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import {
|
|||
WorkflowTemplatePayload,
|
||||
} from 'src/stores/workflow-template/types';
|
||||
import { useWorkflowTemplate } from 'src/stores/workflow-template';
|
||||
import { useNavigator } from 'src/stores/navigator';
|
||||
import { dialog } from 'src/stores/utils';
|
||||
|
||||
import FloatingActionButton from 'components/FloatingActionButton.vue';
|
||||
|
|
@ -28,6 +29,7 @@ const {
|
|||
pageSize: workflowPageSize,
|
||||
pageMax: workflowPageMax,
|
||||
} = storeToRefs(workflowStore);
|
||||
const navigatorStore = useNavigator();
|
||||
|
||||
const pageState = reactive({
|
||||
hideStat: false,
|
||||
|
|
@ -254,6 +256,9 @@ async function fetchWorkflowList() {
|
|||
}
|
||||
|
||||
onMounted(async () => {
|
||||
navigatorStore.current.title = 'flow.title';
|
||||
navigatorStore.current.path = [{ text: 'flow.caption', i18n: true }];
|
||||
|
||||
await fetchWorkflowList();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue