|
@@ -90,15 +90,6 @@ export default defineComponent({
|
|
|
'jump pre registration'
|
|
|
)
|
|
|
|
|
|
- // this.goAuth(data)
|
|
|
- // console.log(returnUrl, isRegister, { ...rest })
|
|
|
- // this.$router.replace({
|
|
|
- // path: returnUrl as any,
|
|
|
- // query: {
|
|
|
- // ...rest,
|
|
|
- // code: this.code
|
|
|
- // }
|
|
|
- // })
|
|
|
const newUrl =
|
|
|
window.location.origin +
|
|
|
window.location.pathname +
|
|
@@ -108,6 +99,7 @@ export default defineComponent({
|
|
|
qs.stringify({
|
|
|
...rest
|
|
|
})
|
|
|
+ // 直接跳转到授权页面
|
|
|
this.getAppIdAndCode(newUrl)
|
|
|
// this.locationReplace(newUrl)
|
|
|
}
|