mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-11-30 18:57:56 +08:00
feat: plugin-layout添加footer配置
This commit is contained in:
parent
e441e96f6f
commit
c1f49f3959
@ -33,6 +33,7 @@ export default (api) => {
|
||||
// .fes配置
|
||||
const userConfig = {
|
||||
title: name,
|
||||
footer: 'Created by Fes.js',
|
||||
...(api.config.layout || {})
|
||||
};
|
||||
|
||||
|
@ -56,8 +56,8 @@
|
||||
<MultiTabProvider v-if="multiTabs" />
|
||||
<router-view v-else></router-view>
|
||||
</a-layout-content>
|
||||
<a-layout-footer class="layout-footer">
|
||||
Fes.js ©2020 Created by MumbleFe
|
||||
<a-layout-footer v-if="footer" class="layout-footer">
|
||||
{{footer}}
|
||||
</a-layout-footer>
|
||||
</a-layout>
|
||||
</a-layout>
|
||||
@ -128,7 +128,8 @@ export default {
|
||||
sideWidth: {
|
||||
type: Number,
|
||||
default: 200
|
||||
}
|
||||
},
|
||||
footer: String
|
||||
},
|
||||
setup(props) {
|
||||
const collapsed = ref(false);
|
||||
|
@ -14,6 +14,7 @@ export default {
|
||||
},
|
||||
layout: {
|
||||
title: "Fes.js",
|
||||
footer: 'Created by MumbelFe',
|
||||
multiTabs: false,
|
||||
menus: [{
|
||||
name: 'index'
|
||||
|
Loading…
Reference in New Issue
Block a user