2023-02-15 09:17:05 +08:00
|
|
|
<template>
|
|
|
|
|
<transition-group name="fade-transform" mode="out-in">
|
2023-03-21 00:53:28 +08:00
|
|
|
<inner-link v-for="(item, index) in iframeViews" v-show="$route.path === item.path" :key="item.path" :iframe-id="'iframe' + index" :src="item.meta.link" />
|
2023-02-15 09:17:05 +08:00
|
|
|
</transition-group>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2023-03-21 00:53:28 +08:00
|
|
|
import InnerLink from '../InnerLink/index';
|
2023-02-15 09:17:05 +08:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: { InnerLink },
|
|
|
|
|
computed: {
|
|
|
|
|
iframeViews() {
|
2023-03-21 00:53:28 +08:00
|
|
|
return this.$store.state.tagsView.iframeViews;
|
2023-02-15 09:17:05 +08:00
|
|
|
}
|
|
|
|
|
}
|
2023-03-21 00:53:28 +08:00
|
|
|
};
|
2023-02-15 09:17:05 +08:00
|
|
|
</script>
|