Browse Source

revert(nc-gui): page keys

pull/3801/head
braks 2 years ago
parent
commit
2e51e73be9
  1. 2
      packages/nc-gui/app.vue
  2. 4
      packages/nc-gui/pages/[projectType]/[projectId]/index.vue

2
packages/nc-gui/app.vue

@ -9,7 +9,7 @@ const disableBaseLayout = computed(() => route.path.startsWith('/nc/view') || ro
<template>
<a-config-provider>
<NuxtLayout :name="disableBaseLayout ? false : 'base'">
<NuxtPage keepalive :page-key="$route.fullPath.split('?')[0]" />
<NuxtPage />
</NuxtLayout>
</a-config-provider>
</template>

4
packages/nc-gui/pages/[projectType]/[projectId]/index.vue

@ -486,10 +486,10 @@ onBeforeUnmount(reset)
</a-layout-sider>
</template>
<div>
<div :key="$route.fullPath.split('?')[0]">
<LazyDashboardSettingsModal v-model="dialogOpen" :open-key="openDialogKey" />
<NuxtPage :page-key="project.id" />
<NuxtPage />
<LazyGeneralPreviewAs float />
</div>

Loading…
Cancel
Save