BUG 30756
This commit is contained in:
@@ -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 = "登录失败!"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user