diff --git a/fangija-zsyf/config.js b/fangija-zsyf/config.js index 7d545f7..49f7e75 100644 --- a/fangija-zsyf/config.js +++ b/fangija-zsyf/config.js @@ -1,8 +1,8 @@ /**服务端地址**/ //var BASE_PATH = "http://youfang.fangjia.com"; //var BASE_PATH = "http://192.168.10.128:8084"; -var BASE_PATH = "http://192.168.10.47:8086"; -//var BASE_PATH = "http://192.168.10.53:8084"; +//var BASE_PATH = "http://192.168.10.47:8086"; +var BASE_PATH = "http://192.168.10.53:8084"; //var BASE_PATH = "http://192.168.10.161:8084"; //var BASE_PATH = "http://192.168.10.170:8084"; //var BASE_PATH = "http://192.168.10.171:8084"; diff --git a/fangija-zsyf/main.html b/fangija-zsyf/main.html index f85cbe4..df12e7a 100644 --- a/fangija-zsyf/main.html +++ b/fangija-zsyf/main.html @@ -184,7 +184,10 @@ if (data.url != null) { localStorage.setItem("startPageClickUrl", data.url); } - localStorage.setItem("guidePageUrls",JSON.stringify(data.guideImgs)); + if (data.guideImgs != null) { + localStorage.setItem("guidePageUrls",JSON.stringify(data.guideImgs)); + } + //存入localStorage Boolean类型变成String //加载菜单信息,控制是否显示贷款菜单 localStorage.setItem("showLoanMenu", data.showLoanMenu); diff --git a/fangija-zsyf/start.html b/fangija-zsyf/start.html index fb8ab63..3f637bd 100644 --- a/fangija-zsyf/start.html +++ b/fangija-zsyf/start.html @@ -76,7 +76,7 @@ new Vue({ methods: { skip: function() { isRun = true; - if (localStorage.getItem("yf_guide_page_status") == null && JSON.parse(localStorage.getItem("guidePageUrls")).length > 0) { + if (localStorage.getItem("yf_guide_page_status") == null && localStorage.getItem("guidePageUrls") != null && JSON.parse(localStorage.getItem("guidePageUrls")).length > 0) { $(".swiper-container").removeClass("dn"); $(".swiper-container").swiper(); localStorage.setItem("yf_guide_page_status", 1) diff --git a/fangija-zsyf/views/house/regions.html b/fangija-zsyf/views/house/regions.html index effcbd7..f2609d2 100644 --- a/fangija-zsyf/views/house/regions.html +++ b/fangija-zsyf/views/house/regions.html @@ -64,8 +64,10 @@