From 06f307c0b6f4f654a50c5e9c50cb5252e0593d5a Mon Sep 17 00:00:00 2001 From: flowerField Date: Thu, 24 Dec 2020 17:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=9C=AC=E6=A0=BC=E5=BC=8F=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E9=80=89=E4=B8=AD=E4=B8=BA=E8=87=AA=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/menuButton.js | 1 + src/controllers/mobile.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/controllers/menuButton.js b/src/controllers/menuButton.js index 3b9c31d..d3d472a 100644 --- a/src/controllers/menuButton.js +++ b/src/controllers/menuButton.js @@ -431,6 +431,7 @@ const menuButton = { //luckysheet-icon-fmt-other-menuButton_sub $("body").append(menu+submenu); $menuButton = $("#" + menuButtonId).width(250); + _this.focus($menuButton); $menuButton.find(".luckysheet-cols-menuitem").click(function(){ $menuButton.hide(); diff --git a/src/controllers/mobile.js b/src/controllers/mobile.js index 04af798..657815c 100644 --- a/src/controllers/mobile.js +++ b/src/controllers/mobile.js @@ -9,8 +9,6 @@ export default function mobileinit(){ //去除滚动条 Store.cellMainSrollBarSize = 0; - - //滑动滚动表格 let luckysheet_touchmove_status = false, luckysheet_touchmove_startPos = {},