From dac34c8988467bd24e294d2c9c7d3c8fa3a8a397 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Thu, 20 Jul 2023 22:59:13 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20iOS=E9=83=A8=E5=88=86=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E5=AD=98=E5=9C=A8=E9=98=BB=E5=A1=9E=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- resources/assets/js/components/Scrollbar/index.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4e7f006e9..64d6d8cd9 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "css-loader": "^6.7.2", "dexie": "^3.2.3", "echarts": "^5.2.2", - "element-sea": "^2.15.10-3", + "element-sea": "^2.15.10-4", "file-loader": "^6.2.0", "highlight.js": "^11.7.0", "inquirer": "^8.2.0", diff --git a/resources/assets/js/components/Scrollbar/index.js b/resources/assets/js/components/Scrollbar/index.js index 19c5a7ce5..e7f9f7590 100644 --- a/resources/assets/js/components/Scrollbar/index.js +++ b/resources/assets/js/components/Scrollbar/index.js @@ -231,6 +231,9 @@ export default { * 鼠标移入事件(单次) */ onContainerMouseMove() { + if (this.windowTouch) { + return; + } setTimeout(() => { if (this.isReady) { return