BUG 30756

This commit is contained in:
aixianling
2022-08-04 17:07:10 +08:00
parent e4a1e015e0
commit 51e933242c

View File

@@ -41,7 +41,7 @@ export default {
methods: {
...mapActions(['getCode', 'getToken']),
checkAccess(review) {
let {code, suiteId, id} = this.$route.query
let {code, suiteId, corpId, id} = this.$route.query
if (this.isPreview) {
this.access = true
} else if (!!this.user.token) {
@@ -59,7 +59,7 @@ export default {
this.err = err
})
} else if (code) {
this.getToken({code, suiteId}).then(() => this.checkAccess(true))
this.getToken({code, corpId, suiteId}).then(() => this.checkAccess(true))
} else if (!review) this.getCode()
else this.err = "登录失败!"
},