From ed34f974d31fb84204fb595ef406d9cf46d610c6 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期一, 30 十月 2023 14:34:27 +0800
Subject: [PATCH] 注释
---
js/indexM.js | 2 ++
mobile/index.html | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/js/indexM.js b/js/indexM.js
index e9d4ab9..5f3cdae 100644
--- a/js/indexM.js
+++ b/js/indexM.js
@@ -52,6 +52,8 @@
// }
mars3d.global_variables.regionCode = localStorage.getItem("regionCode");
+ // debugger;
+ // console.log(mars3d.global_variables.regionCode);
mars3d.global_variables.userid = localStorage.getItem("user_id_");
if(!mars3d.global_variables.userid) {
diff --git a/mobile/index.html b/mobile/index.html
index c1c8801..0f511d6 100644
--- a/mobile/index.html
+++ b/mobile/index.html
@@ -70,7 +70,7 @@
if(record.status == 0 && record.is_deleted ==0) {
localStorage.setItem("user_id_",record.id);
localStorage.setItem("name",record.name);
- localStorage.setItem("regionCode", data.result.length>1 ? "1": record.divcode);
+ localStorage.setItem("regionCode", data.result.length>1 ? "0": record.divcode);
//mars3d.global_variables.regionCode = record.divcode;
window.location = "../mobile/cars.html";
} else {
--
Gitblit v1.9.1