From e028c580284659f9abcbacd2675593dbaa59a810 Mon Sep 17 00:00:00 2001
From: wr1207 <wyun001@163.com>
Date: 星期二, 15 八月 2023 11:15:08 +0800
Subject: [PATCH] 修改mobile下如果有缓存则无需登录

---
 mobile/index.html |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/mobile/index.html b/mobile/index.html
index d16479a..680f8a9 100644
--- a/mobile/index.html
+++ b/mobile/index.html
@@ -23,6 +23,11 @@
   <script type="text/javascript" src="../js/changable_params.js"></script>
   <!--绗笁鏂筶ib-->
   <link href="css/style.css" rel="stylesheet" />
+  <script>
+    if(localStorage.getItem('user_id_') != null) {
+      window.location = "../mobile/cars.html";  
+    }   
+  </script>
 </head>
 
 <body>

--
Gitblit v1.9.1