From baf406e7e271ac90faa3aec31ceb44715331d9d0 Mon Sep 17 00:00:00 2001 From: clddup <105873086+clddup@users.noreply.github.com> Date: 星期五, 19 七月 2024 16:47:21 +0800 Subject: [PATCH] chore: 格式化代码 (#3972) --- src/store/modules/multipleTab.ts | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/store/modules/multipleTab.ts b/src/store/modules/multipleTab.ts index 2fd6736..6a57acd 100644 --- a/src/store/modules/multipleTab.ts +++ b/src/store/modules/multipleTab.ts @@ -134,7 +134,9 @@ // Existing pages, do not add tabs repeatedly const tabHasExits = this.tabList.some((tab, index) => { updateIndex = index; - return decodeURIComponent(tab.fullPath || tab.path) === decodeURIComponent(fullPath || path); + return ( + decodeURIComponent(tab.fullPath || tab.path) === decodeURIComponent(fullPath || path) + ); }); // If the tab already exists, perform the update operation -- Gitblit v1.8.0