Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a071f760d3 | |||
| 445d428d8b | |||
| bbbd386e1e | |||
| fd3cd58123 |
+2
-2
@@ -42,8 +42,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 3. 检查 URL 中是否有授权回调的 code
|
||||
const code = urlParams.get('code');
|
||||
// 3. 检查 URL 中是否有授权回调的 code(支付宝用 auth_code,微信用 code)
|
||||
const code = urlParams.get('code') || urlParams.get('auth_code');
|
||||
|
||||
if (code) {
|
||||
// 有 code → 进入授权 Loading 页处理
|
||||
|
||||
Reference in New Issue
Block a user