|
@@ -140,7 +140,7 @@ import SimpleRichHtml from '@/components/display/SimpleRichHtml.vue';
|
|
|
import { useSSrSimpleDataLoader } from '@/composeable/SimpleDataLoader';
|
|
|
import { useRoute, useRouter } from 'vue-router';
|
|
|
import ContentNode from '@/components/content/ContentNode.vue';
|
|
|
-import { computed, ref, watch, type PropType } from 'vue';
|
|
|
+import { computed, onMounted, ref, watch, type PropType } from 'vue';
|
|
|
import TagBar from '@/components/content/TagBar.vue';
|
|
|
import ImageGrid from '@/components/content/ImageGrid.vue';
|
|
|
|
|
@@ -187,6 +187,9 @@ const contentProps = computed(() => {
|
|
|
};
|
|
|
})
|
|
|
|
|
|
+watch(route, () => {
|
|
|
+ currentTabIndex.value = 0;
|
|
|
+});
|
|
|
onMounted(() => {
|
|
|
currentTabIndex.value = 0;
|
|
|
})
|