From 4c5c20a7c03539104df74072b1b8a81b51c19ab8 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 14 九月 2023 10:42:15 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

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

diff --git a/src/view/index.vue b/src/view/index.vue
index 95ba3db..dd9f1d7 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,10 @@
 				sessionStorage.clear();
 				localStorage.removeItem("autoenter");
 				this.$router.push("/enter");
+			},
+			removeAllTab(){
+				this.upIndex++
+				this.$message.warning('鏁版嵁鍙樺姩杈冨ぇ,椤甸潰鑷姩鏇存柊!')
 			}
 		}
 	};

--
Gitblit v1.9.3