fix(bug) : 修复第一次加载加密不生效

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

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