From d89f3b606e0236f3efcbc33e9f4cfe57d515dbf5 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 15 九月 2023 11:42:35 +0800
Subject: [PATCH] modified: src/components/view/standard-table/target.vue modified: src/components/view/standard.vue
---
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