fix first index of mapGraphPathToInsight nested object

This commit is contained in:
Cindy Chang
2024-08-27 16:32:52 +08:00
parent 554411ace1
commit 63743280f6
3 changed files with 17 additions and 18 deletions

View File

@@ -273,7 +273,7 @@ export default {
const activeTrace = ref(0);
const currentMapFile = computed(() => pageAdmin.currentMapFile);
const clickedPathListIndex = ref(undefined);
const clickedPathListIndex = ref(0);
const isBPMNOn = computed(() => mapPathStore.isBPMNOn);
const onActiveTraceClick = (clickedActiveTraceIndex) => {
@@ -284,7 +284,7 @@ export default {
const onPathOptionClick = (clickedPath) => {
clickedPathListIndex.value = clickedPath;
mapPathStore.highlightClickedPath(activeTrace.value, clickedPathListIndex.value);
mapPathStore.highlightClickedPath(activeTrace.value, clickedPath);
};
const onResetTraceBtnClick = () => {