Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-14 14:11:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a8bb7d9c8d63f7994c8eecbe944bd20c53be53c3
a8bb7d9c
1 parent
d07e99fb
fix 授权传值优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/views/auth.vue
src/views/auth.vue
View file @
a8bb7d9
...
...
@@ -10,7 +10,7 @@ const $route = useRoute();
onMounted(() => {
// php需要先跳转链接获取openid
let url =
location.origin + '/' + $route.query.href
; // 未授权的地址
let url =
encodeURIComponent(location.origin + location.pathname + $route.query.href)
; // 未授权的地址
location.href = `/srv/?f=voice&a=openid_${$route.query.userType}&res=${url}`
})
</script>
...
...
Please
register
or
login
to post a comment