|
@ -138,8 +138,8 @@ |
|
|
loading.value = true; |
|
|
loading.value = true; |
|
|
async function logins() { |
|
|
async function logins() { |
|
|
try { |
|
|
try { |
|
|
const res = await configStore.userLogin(JSON.parse(data)); |
|
|
|
|
|
verifyRef.value?.reload(); |
|
|
verifyRef.value?.reload(); |
|
|
|
|
|
const res = await configStore.userLogin(JSON.parse(data)); |
|
|
if (res.data?.token) { |
|
|
if (res.data?.token) { |
|
|
if (res.data?.token) { |
|
|
if (res.data?.token) { |
|
|
Cookies.set(`${import.meta.env.VITE_PUBLIC_PATH}-nervsid`, res.data?.token); |
|
|
Cookies.set(`${import.meta.env.VITE_PUBLIC_PATH}-nervsid`, res.data?.token); |
|
|