From 52e8286286ffc5920908976c666ca110d0055e15 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期五, 15 九月 2023 13:10:23 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/components/view/rawInsBox.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/components/view/rawInsBox.vue b/src/components/view/rawInsBox.vue
index 352e496..b0648e2 100644
--- a/src/components/view/rawInsBox.vue
+++ b/src/components/view/rawInsBox.vue
@@ -5,8 +5,8 @@
<template>
<div class="rawInsBox">
- <RawIns v-show="!showDetail" :goDetail="goDetail"></RawIns>
- <RawInsDetail v-show="showDetail" :goBack="goBack" :detail="detail"></RawInsDetail>
+ <RawIns v-if="!showDetail" :goDetail="goDetail"></RawIns>
+ <RawInsDetail v-if="showDetail" :goBack="goBack" :detailId="id"></RawInsDetail>
</div>
</template>
@@ -18,15 +18,19 @@
data() {
return {
showDetail: false,
- detail:{}
+ id:0
}
},
+ mounted(){
+ },
methods:{
- goDetail(detail) {
+ goDetail(id) {
this.showDetail = true
- this.detail = detail
+ this.id = id
+ console.log(this.id)
},
goBack() {
+ this.$parent.removeAllTab()
this.showDetail = false
}
}
--
Gitblit v1.9.3