From 5dba18c789853e8c033bced073c5bfa6d0e50dad Mon Sep 17 00:00:00 2001 From: aixianling Date: Fri, 10 Feb 2023 17:07:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=9D=A5=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/observer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/observer.js b/src/common/observer.js index 5927f4b2..d5b4d2c1 100644 --- a/src/common/observer.js +++ b/src/common/observer.js @@ -18,7 +18,7 @@ class Observer { status: item.status, code: item.response?.code, error: item.response?.code != 0 ? item.response?.data : null, - device: navigator.userAgentData.platform + device: navigator.userAgent } if (!/(sockjs-node|hot-update|monitorApi)/.test(api.path)) { if (!!this.timer) {