[update 飞书跳转] 飞书跳转完善
This commit is contained in:
@@ -76,6 +76,8 @@ router.beforeEach(async (to, from, next) => {
|
|||||||
// 去掉重定向的参数,然后跳转对应页面
|
// 去掉重定向的参数,然后跳转对应页面
|
||||||
const query = Object.assign({}, to.query)
|
const query = Object.assign({}, to.query)
|
||||||
delete query.finalRedirectPage
|
delete query.finalRedirectPage
|
||||||
|
delete query.code
|
||||||
|
delete query.state
|
||||||
next({
|
next({
|
||||||
path: to.query.finalRedirectPage,
|
path: to.query.finalRedirectPage,
|
||||||
replace: true,
|
replace: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user