From 54e05bae609e4129eb6210b9614ac28c0b205ba4 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Fri, 31 May 2019 19:10:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B3=E9=94=AE=E8=8F=9C=E5=8D=95=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=99=A8=E6=9B=B4=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/index.js b/ruoyi-admin/src/main/resources/static/ruoyi/index.js index b3eecd330..67d4af53d 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/index.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/index.js @@ -460,7 +460,7 @@ $(function() { // 右键菜单实现 $.contextMenu({ - selector: ".page-tabs-content", + selector: ".menuTab", trigger: 'right', autoHide: true, items: { @@ -468,7 +468,7 @@ $(function() { name: "关闭当前", icon: "fa-close", callback: function(key, opt) { - tabCloseCurrent(); + opt.$trigger.find('i').trigger("click"); } }, "close_other": {