diff --git a/packages/fes-plugin-layout/src/index.js b/packages/fes-plugin-layout/src/index.js index b4e8efcf..8b3eb02d 100644 --- a/packages/fes-plugin-layout/src/index.js +++ b/packages/fes-plugin-layout/src/index.js @@ -33,6 +33,7 @@ export default (api) => { // .fes配置 const userConfig = { title: name, + footer: 'Created by Fes.js', ...(api.config.layout || {}) }; diff --git a/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue b/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue index 0773a683..df25b5a9 100644 --- a/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue +++ b/packages/fes-plugin-layout/src/runtime/views/BaseLayout.vue @@ -56,8 +56,8 @@ - - Fes.js ©2020 Created by MumbleFe + + {{footer}} @@ -128,7 +128,8 @@ export default { sideWidth: { type: Number, default: 200 - } + }, + footer: String }, setup(props) { const collapsed = ref(false); diff --git a/packages/fes-template/.fes.js b/packages/fes-template/.fes.js index bd048ea3..db77aa6f 100644 --- a/packages/fes-template/.fes.js +++ b/packages/fes-template/.fes.js @@ -14,6 +14,7 @@ export default { }, layout: { title: "Fes.js", + footer: 'Created by MumbelFe', multiTabs: false, menus: [{ name: 'index'