添加登录code

This commit is contained in:
lijun 2025-12-10 20:33:27 +08:00
parent 389fe17b18
commit 2a7cf2dedb
1 changed files with 9 additions and 0 deletions

View File

@ -307,6 +307,15 @@ onMounted(async () => {
if (queryParams.code){
code.value = queryParams.code as string;
}
const token = localStorage.getItem("token") || "";
if (token !== "") {
await getMyUserInfo(0);
if (code.value !== ''){
//token code使
await SetTokenCodeStatusService(code.value, token);
}
}
});
const thirdLogin = async (type) => {