From 400d254a4b9969fc76127b587e6267e08702cf5f Mon Sep 17 00:00:00 2001 From: wanchun <445436867@qq.com> Date: Mon, 30 May 2022 16:48:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20plugin-layout=20=E5=A4=9A=E9=A1=B5?= =?UTF-8?q?=E7=AD=BE=E5=8F=AF=E4=BB=A5=E5=88=A0=E9=99=A4=E5=BD=93=E5=89=8D?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/runtime/views/MultiTabProvider.vue | 21 +++++--- packages/fes-template/.fes.js | 2 +- yarn.lock | 54 ++++++++++++++++++- 3 files changed, 69 insertions(+), 8 deletions(-) diff --git a/packages/fes-plugin-layout/src/runtime/views/MultiTabProvider.vue b/packages/fes-plugin-layout/src/runtime/views/MultiTabProvider.vue index 2dff56e8..128e4bd7 100644 --- a/packages/fes-plugin-layout/src/runtime/views/MultiTabProvider.vue +++ b/packages/fes-plugin-layout/src/runtime/views/MultiTabProvider.vue @@ -13,7 +13,7 @@ v-for="page in pageList" :key="page.path" :value="page.path" - :closable="route.path !== page.path" + :closable="pageList.length > 1" >