From 4b42d808259508309969a1b32dead73f4f040bbe Mon Sep 17 00:00:00 2001 From: zsw Date: Tue, 8 Oct 2019 19:06:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(bug)=20:=20=E4=BF=AE=E5=A4=8D=E7=AC=AC?= =?UTF-8?q?=E4=B8=80=E6=AC=A1=E5=8A=A0=E8=BD=BD=E5=8A=A0=E5=AF=86=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Page.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/Page.vue b/components/Page.vue index 91b8a62..4c47dcb 100644 --- a/components/Page.vue +++ b/components/Page.vue @@ -81,7 +81,8 @@ export default { data () { return { - recoShow: false + recoShow: false, + isHasKey: true } }, @@ -154,7 +155,8 @@ export default { return } - this.isHasKey = keys && keys.indexOf(sessionStorage.getItem('key')) > -1 + this.isHasKey = keys && keys.indexOf(sessionStorage.getItem('pageKey')) > -1 + this.$parent.isHasPageKey = this.isHasKey }, methods: {