fix: fix first load encryption not working
This commit is contained in:
parent
e8ccb4a207
commit
79ec44a0dd
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user