From 001e8d3e5f9d908061866e65ae58a9887713c37c Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Thu, 1 Jun 2023 10:46:15 +0800 Subject: [PATCH] =?UTF-8?q?refactor(web):=20=E4=BC=98=E5=8C=96=20tab=20?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/components/yarn-cluster-tab.js | 9 ++++----- web/index.html | 1 - 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/web/components/yarn-cluster-tab.js b/web/components/yarn-cluster-tab.js index b905894..96accf4 100644 --- a/web/components/yarn-cluster-tab.js +++ b/web/components/yarn-cluster-tab.js @@ -5,7 +5,6 @@ function yarnClusterTab() { { type: 'tabs', mountOnEnter: true, - unmountOnExit: true, tabsMode: 'line', tabs: [ { @@ -14,10 +13,10 @@ function yarnClusterTab() { yarnQueueCrud('b1,b5,b5-sync,a4,b4') ], }, - yarnTab('b1', '压缩 b1', 'datalake,tyly'), - yarnTab('a4', '压缩 a4'), - yarnTab('b4', '压缩 b4'), - yarnTab('b5', '压缩 b5', 'ten_iap.datalake'), + yarnTab('b1', 'b1', 'datalake,tyly'), + yarnTab('a4', 'a4'), + yarnTab('b4', 'b4'), + yarnTab('b5', 'b5', 'ten_iap.datalake'), ] } ] diff --git a/web/index.html b/web/index.html index 4499b5d..2ebe59a 100644 --- a/web/index.html +++ b/web/index.html @@ -52,7 +52,6 @@ body: { type: 'tabs', mountOnEnter: true, - unmountOnExit: true, tabsMode: 'strong', tabs: [ // logTab(),