From 170f63a157356ecf96af39b5a615b44857711bf3 Mon Sep 17 00:00:00 2001 From: lhyhappy365 Date: Thu, 7 Jan 2021 21:53:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81tomas=E7=99=BE?= =?UTF-8?q?=E5=BA=A6=E8=80=81=E5=B9=B4=E7=89=88=E6=9C=AC=E7=9A=84=E8=AF=86?= =?UTF-8?q?=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 92c4bd1..a1e7ce7 100644 --- a/src/index.js +++ b/src/index.js @@ -63,7 +63,10 @@ define(function () { var version = match[1].split('.').map(parseFloat); return version; }, - + // 是否为百度大字版 + isTomas: function () { + return /tomas/.test(ua); + }, // Browser isBaiduBox: function () { return /baiduboxapp/.test(ua);