From a0133723cc63e82ee079c2f04108b8c4f8e74bf3 Mon Sep 17 00:00:00 2001 From: Yiran Date: Wed, 25 Sep 2019 16:19:50 +0800 Subject: [PATCH] disable refer field --- src/components/HelloWorld.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index acb959c..1b1415b 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -116,6 +116,7 @@ !!value || validation.account_required, @@ -613,6 +615,9 @@ const url_string = window.location.href; const url = new URL(url_string); this.referer = url.searchParams.get("id"); + if(this.referrer !== ""){ + this.refererDisabled = true; + } await this.refreshCaptcha(); } }