From 46514fd5b5672c79f03a580212832e832a813f97 Mon Sep 17 00:00:00 2001 From: as6325400 Date: Sun, 7 Jul 2024 23:54:34 +0800 Subject: [PATCH] show tab name --- src/views/page_main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/page_main.vue b/src/views/page_main.vue index 0e180dc..5bfc0a9 100644 --- a/src/views/page_main.vue +++ b/src/views/page_main.vue @@ -72,7 +72,7 @@ const closeModal = () => { }; const show_tab_name = (tab_name) => { - if(tab_name.length > 8) return tab_name.slice(0, 6) + "..."; + if (tab_name.length > 8) return tab_name.slice(0, 6) + "..."; return tab_name; };