index.vue 536 Bytes
<template>
  <router-view v-slot="{ Component, route }">
    <keep-alive :exclude="['audition-activity-show', 'audition-demo-show']">
      <component :is="Component" :key="route.path" />
    </keep-alive>
  </router-view>
</template>

<script lang="ts" setup>
import { onMounted } from 'vue';
import { useSelectionStore } from '@/store';

const { queryAll } = useSelectionStore();
onMounted(() => queryAll());
</script>

<style lang="less" scoped>
.container {
  padding: 0 30px 20px 20px;
}

.operations {
  display: flex;
}
</style>