修正客户端账号信息请求方式
This commit is contained in:
1 parent
97af26a730
commit
755a0f50fd
1 file changed
+2
-2
@@ -87,7 +87,7 @@ export function usePage() {
|
||||
|
||||
const loadBaseInfo = async () => {
|
||||
try {
|
||||
const infoRes = await http.get('/api/v1/user/info')
|
||||
const infoRes = await http.post('/api/v1/user/info', {})
|
||||
if (infoRes?.data?.email && infoRes.data.email.includes('@')) {
|
||||
currentDomain.value = infoRes.data.email.split('@')[1]
|
||||
}
|
||||
@@ -341,4 +341,4 @@ export function usePage() {
|
||||
closeVerifyDialog,
|
||||
submitVerifyAndReveal,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user