From ec8fe95c583d0d44bd4c3844986d618d4c407897 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Tue, 24 Jan 2023 19:09:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=AB=99=E7=82=B9=E6=97=B6=E9=BB=98=E8=AE=A4=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E6=B5=8F=E8=A7=88=E5=99=A8UA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/auto_pt/status.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/templates/auto_pt/status.html b/templates/auto_pt/status.html index 137ac6c..708cea2 100644 --- a/templates/auto_pt/status.html +++ b/templates/auto_pt/status.html @@ -651,7 +651,7 @@ 取 消 - + 保存 @@ -698,7 +698,7 @@ user_id: '', passkey: '', time_join: '2023-01-01 12:00:00', - user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.52', + user_agent: '', cookie: '' }, addMySiteFormRules: { @@ -719,6 +719,7 @@ } }, beforeMount() { + this.addMySiteForm.user_agent = window.navigator.userAgent }, mounted() { {#this.chart = this.$refs.charts.chart#} @@ -946,7 +947,7 @@ user_id: '', passkey: '', time_join: '2023-01-01 12:00:00', - user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.52', + user_agent: window.navigator.userAgent, cookie: '' } this.showAddMySite = false @@ -992,7 +993,7 @@ user_id: '', passkey: '', time_join: '2023-01-01 12:00:00', - user_agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.52', + user_agent: window.navigator.userAgent, cookie: '' } this.showAddMySite = true