Compare commits
No commits in common. "567ec689adcfcb79e698b63feeda9452f9369599" and "f373f34609776b6d3ada13eb251eb312b2a21b83" have entirely different histories.
567ec689ad
...
f373f34609
|
@ -22,7 +22,7 @@ const props = defineProps({
|
|||
default: 'main',
|
||||
},
|
||||
});
|
||||
const initialized = ref(false);
|
||||
|
||||
const items = ref([]);
|
||||
const expansionItemElements = reactive({});
|
||||
const pinnedModules = computed(() => {
|
||||
|
@ -61,13 +61,11 @@ const filteredPinnedModules = computed(() => {
|
|||
onMounted(async () => {
|
||||
await navigation.fetchPinned();
|
||||
getRoutes();
|
||||
initialized.value = true;
|
||||
});
|
||||
|
||||
watch(
|
||||
() => route.matched,
|
||||
() => {
|
||||
if (!initialized.value) return;
|
||||
items.value = [];
|
||||
getRoutes();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue