From b849929ce28f5db35a400b098681270ab7afe25f Mon Sep 17 00:00:00 2001 From: wangbing Date: Mon, 6 May 2019 23:51:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/SpringBoot/resources/templates/screen/index.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/index.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/index.ftl index 68eca784..d893aeb0 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/index.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/index.ftl @@ -304,7 +304,7 @@ addTab: function (tab) { //查找是否存在该tab var tempTabs = this.tabs.filter(function (tab_) { - return tab_.name === tab.name && tab_.url === tab.url; + return tab_.name === tab.name; }) //不存在则添加 if (tempTabs.length <= 0) {