From 571652229c13b10fe38b5385374135c90c7b3c6f Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 14 May 2020 17:14:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=AD=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E9=A1=B5=E5=90=8E=E5=88=B7=E6=96=B0=E8=BF=98=E6=98=AF?= =?UTF-8?q?=E4=B8=8A=E6=AC=A1=E5=9C=B0=E5=9D=80=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/index.js b/ruoyi-admin/src/main/resources/static/ruoyi/index.js index 95716800..e8da4e9c 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/index.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/index.js @@ -372,6 +372,7 @@ $(function() { }); } scrollToTab($('.menuTab.active')); + setIframeUrl($('.page-tabs-content').find('.active').attr('data-id')); return false; } @@ -429,6 +430,7 @@ $(function() { $(this).remove(); }); $('.page-tabs-content').css("margin-left", "0"); + setIframeUrl($('.page-tabs-content').find('.active').attr('data-id')); } // 关闭全部选项卡 @@ -442,6 +444,7 @@ $(function() { $(this).addClass("active"); }); $('.page-tabs-content').css("margin-left", "0"); + setIframeUrl($('.page-tabs-content').find('.active').attr('data-id')); }