From 352ad5d8f7957bc7f84baf4ce4d8518619864b6e Mon Sep 17 00:00:00 2001
From: 李林 <z1292839451@163.com>
Date: 星期五, 18 八月 2023 11:55:50 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/components/view/rawInsBox.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/components/view/rawInsBox.vue b/src/components/view/rawInsBox.vue
index 352e496..57710f5 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,13 +18,16 @@
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.showDetail = false
--
Gitblit v1.9.3