From d2d830d163c57975ee04746a392cc8147ccadc48 Mon Sep 17 00:00:00 2001
From: jazz <jazzxhunter@163.com>
Date: 星期一, 11 十二月 2023 18:03:15 +0800
Subject: [PATCH] update_202312111803_打包更新线上

---
 src/pages/room/list.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/pages/room/list.vue b/src/pages/room/list.vue
index ebc4287..5d9e0bb 100644
--- a/src/pages/room/list.vue
+++ b/src/pages/room/list.vue
@@ -60,6 +60,7 @@
   computed: {
 
   },
+  activated() {},
   mounted() {
     console.log('roomList mounted')
     this.init()
@@ -126,6 +127,16 @@
     },
     // 璺宠浆璇︽儏
     selectRoom(item = {}) {
+      // console.log(this.$router.options.routes)
+      // this.$router.options.routes
+      localStorage.removeItem('curTreatId')
+      if (this.$router && this.$router.options && this.$router.options.routes) {
+        this.$router.options.routes.forEach((o) => {
+          if (o.name === 'roomDetail') {
+            o.meta && (o.meta.isPush = true)
+          }
+        })
+      }
       this.$router.push({
         path: `./room/detail?id=${item.id || ''}`
       })

--
Gitblit v1.8.0