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,
|
WorkflowTemplatePayload,
|
||||||
} from 'src/stores/workflow-template/types';
|
} from 'src/stores/workflow-template/types';
|
||||||
import { useWorkflowTemplate } from 'src/stores/workflow-template';
|
import { useWorkflowTemplate } from 'src/stores/workflow-template';
|
||||||
|
import { useNavigator } from 'src/stores/navigator';
|
||||||
import { dialog } from 'src/stores/utils';
|
import { dialog } from 'src/stores/utils';
|
||||||
|
|
||||||
import FloatingActionButton from 'components/FloatingActionButton.vue';
|
import FloatingActionButton from 'components/FloatingActionButton.vue';
|
||||||
|
|
@ -28,6 +29,7 @@ const {
|
||||||
pageSize: workflowPageSize,
|
pageSize: workflowPageSize,
|
||||||
pageMax: workflowPageMax,
|
pageMax: workflowPageMax,
|
||||||
} = storeToRefs(workflowStore);
|
} = storeToRefs(workflowStore);
|
||||||
|
const navigatorStore = useNavigator();
|
||||||
|
|
||||||
const pageState = reactive({
|
const pageState = reactive({
|
||||||
hideStat: false,
|
hideStat: false,
|
||||||
|
|
@ -254,6 +256,9 @@ async function fetchWorkflowList() {
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
navigatorStore.current.title = 'flow.title';
|
||||||
|
navigatorStore.current.path = [{ text: 'flow.caption', i18n: true }];
|
||||||
|
|
||||||
await fetchWorkflowList();
|
await fetchWorkflowList();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue