Commit f6cfded1 authored by Facius's avatar Facius

Merge branch 'dev-v1.0.0' of https://git.banshouhui.com/wuzhenzhe/study into dev-v1.0.0

parents 05e7e07a 10a3544e
......@@ -7,7 +7,11 @@ export default {
questionList: []
},
onLaunch: function(options) {
this.$u.vuex('orgId', options?.query?.orgId || -1)
const orgId = options?.query?.orgId || -1
if (orgId !== this.orgId) {
this.logout()
}
this.$u.vuex('orgId', orgId)
// 版本更新
this.updateApp()
},
......@@ -76,6 +80,11 @@ export default {
})
}
},
logout() {
this.$u.vuex('vuex_token', '')
this.$u.vuex('openId', '')
this.$u.vuex('userInfo', {})
}
},
}
</script>
......
......@@ -169,18 +169,16 @@ export default {
background-color: #2953ff;
background-size: 100% 920rpx;
background-repeat: no-repeat;
height: 120vh;
height: 100vh;
position: absolute;
top: 0;
width: 100%;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 30rpx 24rpx 0rpx 24rpx;
padding: 30rpx 24rpx 50rpx 24rpx;
height: 100%;
overflow: auto;
}
.cert-body {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment