From 27dd70096d181051200ec5febf11c99d1940f835 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 13 九月 2023 16:52:18 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before

---
 src/view/index.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/view/index.vue b/src/view/index.vue
index 95ba3db..27712b5 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -91,7 +91,7 @@
 	}
 
 	.left .box i {
-		font-size: 32px;
+		font-size: 24px;
 		margin-bottom: 8px;
 	}
 
@@ -209,7 +209,6 @@
 		height: 100%;
 	}
 </style>
-<style></style>
 <template>
 	<div class="all">
 		<div class="title">
@@ -260,7 +259,7 @@
 			</div>
 			<div class="component_view">
 				<component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="upIndex + '|' + index"
-					v-show="com.k == tabActive">
+					v-show="com.k == tabActive" @removeAllTab="removeAllTab">
 				</component>
 			</div>
 		</div>
@@ -560,6 +559,7 @@
 					u: "index-index"
 				}]
 			},
+			
 			upTabActive(num) {
 				this.tabActive = num;
 				this.activeP = num;
@@ -576,6 +576,9 @@
 				sessionStorage.clear();
 				localStorage.removeItem("autoenter");
 				this.$router.push("/enter");
+			},
+			removeAllTab(){
+				this.upIndex++
 			}
 		}
 	};

--
Gitblit v1.9.3