From c0bc2331e9abb2ae003c8dc0ab4524d6101493a1 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期一, 25 九月 2023 09:12:51 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/components/view/rawInsBox.vue | 59 +++++++++++++++++++++++++++++------------------------------
1 files changed, 29 insertions(+), 30 deletions(-)
diff --git a/src/components/view/rawInsBox.vue b/src/components/view/rawInsBox.vue
index b0648e2..aec0ed9 100644
--- a/src/components/view/rawInsBox.vue
+++ b/src/components/view/rawInsBox.vue
@@ -1,38 +1,37 @@
-
<style scoped>
</style>
<template>
- <div class="rawInsBox">
- <RawIns v-if="!showDetail" :goDetail="goDetail"></RawIns>
- <RawInsDetail v-if="showDetail" :goBack="goBack" :detailId="id"></RawInsDetail>
- </div>
+ <div class="rawInsBox">
+ <RawIns v-if="!showDetail" :goDetail="goDetail"></RawIns>
+ <RawInsDetail v-if="showDetail" :goBack="goBack" :detailId="id"></RawInsDetail>
+ </div>
</template>
<script>
-import RawIns from './raw-ins.vue'
-import RawInsDetail from './rawInsDetail.vue'
-export default {
- components:{RawIns,RawInsDetail},
- data() {
- return {
- showDetail: false,
- id:0
- }
- },
- mounted(){
- },
- methods:{
- goDetail(id) {
- this.showDetail = true
- this.id = id
- console.log(this.id)
- },
- goBack() {
- this.$parent.removeAllTab()
- this.showDetail = false
- }
- }
-}
-</script>
+ import RawIns from './raw-ins.vue'
+ import RawInsDetail from './rawInsDetail.vue'
+ export default {
+ components: {
+ RawIns,
+ RawInsDetail
+ },
+ data() {
+ return {
+ showDetail: false,
+ id: 0
+ }
+ },
+ mounted() {},
+ methods: {
+ goDetail(id) {
+ this.showDetail = true
+ this.id = id
+ },
+ goBack() {
+ this.showDetail = false
+ }
+ }
+ }
+</script>
\ No newline at end of file
--
Gitblit v1.9.3