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)