From 92883ad528c9e6908e0b84772b8deb1bf2ec550c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E4=BB=AA=E5=BC=8F?= <854085467@qq.com> Date: Thu, 23 Jul 2020 15:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=80=89=E9=A1=B9=E5=8D=A1?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E9=97=AE=E9=A2=98=E6=8F=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- component/pear/module/tab.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/component/pear/module/tab.js b/component/pear/module/tab.js index fe95b6f..897ebc1 100644 --- a/component/pear/module/tab.js +++ b/component/pear/module/tab.js @@ -373,10 +373,9 @@ layui.define(['jquery', 'element'], function(exports) { if(!removeTab.hasClass("layui-this")){ - alert(id); removeTab.remove(); var tabContent = $(".layui-tab[lay-filter='" + elem + "']").find("iframe[id='" + id + "']").parent(); - + tabContent.remove(); return false; }