1
0
forked from ruoyi/RuoYi-Vue

添加底部版权信息及开关

This commit is contained in:
RuoYi
2025-05-24 14:24:23 +08:00
parent 9ceca3a68e
commit db6d5d34e6
6 changed files with 78 additions and 7 deletions

View File

@@ -6,15 +6,17 @@
</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
@@ -33,7 +35,7 @@ export default {
},
methods: {
addIframe() {
const {name} = this.$route
const { name } = this.$route
if (name && this.$route.meta.link) {
this.$store.dispatch('tagsView/addIframeView', this.$route)
}
@@ -51,6 +53,10 @@ export default {
overflow: hidden;
}
.app-main:has(.copyright) {
padding-bottom: 36px;
}
.fixed-header + .app-main {
padding-top: 50px;
}