From 09108f7b678b7bf359cf0699f6f3c4d1a1ad88db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Mon, 7 May 2018 15:07:39 +0800 Subject: [PATCH] fix bug --- fangija-zsyf/start.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)