From f9579aa89f7c94e76047c7fb0545df031a7aa743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 11 Aug 2023 15:12:33 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=E5=AE=A2=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 16 ++--- src/components/user/index.vue | 4 +- src/components/user/register.vue | 60 ++++++++++++++++++ src/components/user/statistics.vue | 97 ++++++++++++++++++++++-------- src/extend/api/httpurl.js | 2 +- src/router/index.js | 6 ++ 6 files changed, 149 insertions(+), 36 deletions(-) create mode 100644 src/components/user/register.vue diff --git a/src/App.vue b/src/App.vue index 58eea38..e6eefad 100644 --- a/src/App.vue +++ b/src/App.vue @@ -30,14 +30,14 @@ export default { // This is the visitor identifier: const visitorId = result.visitorId console.log(visitorId) - this.$api.post(this.$api.phpURL + 'api/Verify/index', {code: visitorId}).then(res => { - // eslint-disable-next-line eqeqeq - if (res.msg == 'false') { - // eslint-disable-next-line camelcase - alert('访问错误!错误码:' + visitorId) - window.location.href = 'http://www.juip.com' - } - }) + // this.$api.post(this.$api.phpURL + 'api/Verify/index', {code: visitorId}).then(res => { + // // eslint-disable-next-line eqeqeq + // if (res.msg == 'false') { + // // eslint-disable-next-line camelcase + // alert('访问错误!错误码:' + visitorId) + // window.location.href = 'http://www.juip.com' + // } + // }) })() } } diff --git a/src/components/user/index.vue b/src/components/user/index.vue index b160f32..979e0cc 100644 --- a/src/components/user/index.vue +++ b/src/components/user/index.vue @@ -42,7 +42,7 @@ - +