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 17:26:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0b8f4ccfc7c4d645ed0057333ca097b7714c0fe7
0b8f4ccf
1 parent
a169cdb6
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
src/views/auth.vue
src/views/auth.vue
View file @
0b8f4cc
...
...
@@ -11,6 +11,7 @@ const $route = useRoute();
onMounted(() => {
// php需要先跳转链接获取openid
let url = encodeURIComponent(location.origin + location.pathname + $route.query.href); // 未授权的地址
// location.href = `/srv/?f=voice&a=openid_${$route.query.userType}&res=${url}`;
// TEMP:临时使用测试 OPENID, 正式版需要删除
let text = 'api-test-openid'
location.href = `/srv/?f=voice&a=openid_${$route.query.userType}&res=${url}&input_openid=${text}`
...
...
Please
register
or
login
to post a comment