Merge branch 'dev_vite' of ssh://18.167.251.121:10002/aidlab/aida_front into dev_vite

This commit is contained in:
2026-04-29 16:33:17 +08:00
2 changed files with 12 additions and 1 deletions

View File

@@ -17,6 +17,7 @@
<component
:is="Component"
:key="route.name"
:cachedRoutes="cachedRoutes"
/>
</keep-alive>
</router-view>

View File

@@ -12,7 +12,11 @@
</div>
</div>
<router-view></router-view>
<router-view v-slot="{ Component }">
<keep-alive :include="cachedRoutes">
<component :is="Component" />
</keep-alive>
</router-view>
<toolTipBox v-model:visible="visible" @close="() => {}" ref="toolTipBoxRef"></toolTipBox>
</div>
</template>
@@ -24,6 +28,12 @@
import toolTipBox from "./toolTipBox.vue"
import myEvent from "@/tool/myEvents.js"
import { useStore } from "vuex"
const props = defineProps({
cachedRoutes: {
type: Array,
default: () => []
}
})
const store = useStore()
// store.dispatch("seller/get_designerInfo")
const route = useRoute()