fix: fixed first load encryption not working

This commit is contained in:
zsw 2019-10-08 19:06:07 +08:00
parent 37c133bd17
commit 851984b9a0

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