feat: add copyright to setting

master
chenghx 6 years ago
parent 0e61d8c247
commit 626c19dcb3
  1. 2
      src/components/layout/GlobalLayout.vue
  2. 8
      src/components/login/Login.vue
  3. 2
      src/store/modules/setting.js

@ -16,7 +16,7 @@
<slot></slot>
</a-layout-content>
<a-layout-footer style="padding: 0px">
<global-footer :link-list="linkList" copyright="2018 ICZER出品" />
<global-footer :link-list="linkList" :copyright="copyright" />
</a-layout-footer>
</a-layout>
</a-layout>

@ -67,7 +67,7 @@
</a-form>
</div>
</div>
<global-footer />
<global-footer :link-list="linkList" :copyright="copyright" />
</div>
</template>
@ -112,6 +112,12 @@ export default {
computed: {
systemName () {
return this.$store.state.setting.systemName
},
linkList () {
return this.$store.state.setting.footerLinks
},
copyright () {
return this.$store.state.setting.copyright
}
},
methods: {

@ -5,7 +5,7 @@ export default {
theme: 'dark',
layout: 'side',
systemName: 'Vue Antd Admin',
copyright: '',
copyright: '2018 ICZER 工作室出品',
footerLinks: [
{link: 'https://pro.ant.design', name: 'Pro首页'},
{link: 'https://github.com/iczer/vue-antd-admin', icon: 'github'},

Loading…
Cancel
Save