diff --git a/web/src/components/Github/index.vue b/web/src/components/Github/index.vue index 2e1ad59..a051194 100644 --- a/web/src/components/Github/index.vue +++ b/web/src/components/Github/index.vue @@ -9,7 +9,8 @@ export default { name: 'Github', methods: { click() { - window.open('https://gitee.com/guchengwuyue/yshopmall', '_blank') + alert('请输入地址!') + // window.open('https://gitee.com/guchengwuyue/yshopmall', '_blank') } } } diff --git a/web/src/settings.js b/web/src/settings.js index 8ecf6cf..3a19fd7 100644 --- a/web/src/settings.js +++ b/web/src/settings.js @@ -38,13 +38,13 @@ module.exports = { /** * 是否显示设置的底部信息 */ - showFooter: true, + showFooter: false, /** * 底部文字,支持html语法 */ - footerTxt: '© 2019-2020 YSHOP All Rights Reserved', + footerTxt: '© YYYY-YYYY TITLE 其他说明', /** * 备案号 */ - caseNumber: '豫ICP备17049587-2号' + caseNumber: '备案号' } diff --git a/web/src/utils/request.js b/web/src/utils/request.js index ead537b..6d708e2 100644 --- a/web/src/utils/request.js +++ b/web/src/utils/request.js @@ -33,7 +33,7 @@ service.interceptors.response.use( const code = response.status // console.log(response.data.status) const newCode = response.data.status - if (newCode != 200 || code < 200 || code > 300) { + if (newCode !== 200 || code < 200 || code > 300) { Notification.error({ title: response.data.msg }) diff --git a/web/src/views/login.vue b/web/src/views/login.vue index 871dbf1..c1ea574 100644 --- a/web/src/views/login.vue +++ b/web/src/views/login.vue @@ -1,22 +1,6 @@