From 38712ae83223cb244020e255fc37e1ce35775c45 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 09 四月 2026 13:53:40 +0800
Subject: [PATCH] 优化

---
 src/App.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/App.vue b/src/App.vue
index a4fb8fd..1342935 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -15,10 +15,16 @@
   },
   watch: {
     '$route.path': function(){
+      let count = localStorage.getItem('refreshCount') || 0
+      count = Number(count) + 1 
+      localStorage.setItem('refreshCount', count++)
       if (isWeixin) {
         getWxSignature(this.$route)
       }
     },
+  },
+  created() {
+    console.log('localHost')
   }
 }
 </script>

--
Gitblit v1.8.0