From de79a0aa1d62c2130b47c667fd10c0fce0587c35 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 14 九月 2023 10:35:46 +0800
Subject: [PATCH] modified: src/assets/api/controller.js modified: src/components/view/finishedProductInspection.vue modified: src/components/view/finishedProductInspectionAdd.vue modified: src/components/view/finishedProductInspectionLook.vue modified: src/components/view/finishedProductInspectionUp.vue modified: src/components/view/processInspectionUpdate.vue modified: src/main.js
---
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