| | |
| | | </keep-alive>
|
| | | </transition>
|
| | | <iframe-toggle />
|
| | | <copyright />
|
| | | </section>
|
| | | </template>
|
| | |
|
| | | <script>
|
| | | import copyright from "./Copyright/index"
|
| | | import iframeToggle from "./IframeToggle/index"
|
| | |
|
| | | export default {
|
| | | name: 'AppMain',
|
| | | components: { iframeToggle },
|
| | | components: { iframeToggle, copyright },
|
| | | computed: {
|
| | | cachedViews() {
|
| | | return this.$store.state.tagsView.cachedViews
|
| | |
| | | },
|
| | | methods: {
|
| | | addIframe() {
|
| | | const {name} = this.$route
|
| | | const { name } = this.$route
|
| | | if (name && this.$route.meta.link) {
|
| | | this.$store.dispatch('tagsView/addIframeView', this.$route)
|
| | | }
|
| | |
| | | overflow: hidden;
|
| | | }
|
| | |
|
| | | .app-main:has(.copyright) {
|
| | | padding-bottom: 36px;
|
| | | }
|
| | |
|
| | | .fixed-header + .app-main {
|
| | | padding-top: 50px;
|
| | | }
|