From 0b473410fd8cf1639d5e4857d2fee7be430c5f58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=AB=8B=E5=B8=AE?= <3294713004@qq.com> Date: Wed, 14 Aug 2024 13:15:14 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20=E6=9B=B4=E6=96=B0xscrollbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/modules/web-modules/xscrollbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/modules/web-modules/xscrollbar.js b/common/modules/web-modules/xscrollbar.js index e9b0acfa..65795aa7 100644 --- a/common/modules/web-modules/xscrollbar.js +++ b/common/modules/web-modules/xscrollbar.js @@ -9,8 +9,8 @@ class XScrollbar { constructor(dom, options) { // 移动端检测 - this.isMobile = window.navigator.userAgent.toLowerCase().indexOf('mobile') != -1; - if (this.isMobile) return; + // this.isMobile = window.navigator.userAgent.toLowerCase().indexOf('mobile') != -1; + // if (this.isMobile) return; this.$dom = dom; if (this.$dom.classList.contains('x-scrollbar')) return;