From 397265e5ace1c98f63ad19bea50735d526420a42 Mon Sep 17 00:00:00 2001 From: VIVIMAN Date: Tue, 6 Dec 2022 11:03:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/Github/index.vue | 3 ++- web/src/settings.js | 6 +++--- web/src/utils/request.js | 2 +- web/src/views/login.vue | 16 ---------------- 4 files changed, 6 insertions(+), 21 deletions(-) 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 @@