优化个人中心表格显示和操作功能
This commit is contained in:
@ -14,7 +14,7 @@ export const generateRandomString = (length: number) => {
|
||||
// QQ登录
|
||||
export const handleLoginQQ = () => {
|
||||
const appId = QQ_APP_ID // APP ID
|
||||
const redirectUri = encodeURIComponent('https://tuxixi.net/index?type=35') // 回调地址
|
||||
const redirectUri = encodeURIComponent('https://tuxixi.net?type=35') // 回调地址
|
||||
const state = generateRandomString(16) // 生成随机state
|
||||
// 存储state用于后续验证
|
||||
localStorage.setItem('qq_login_state', state)
|
||||
|
||||
Reference in New Issue
Block a user