fix: fix first load encryption not working

This commit is contained in:
zsw 2019-10-08 19:06:07 +08:00
parent e8ccb4a207
commit 79ec44a0dd

View File

@ -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: {