Browse Source

fix: 修改验证码更新时机

deploy-dev
xuziqiang 4 months ago
parent
commit
62f357c5d5
  1. 2
      lib/saas/view/system/login.vue

2
lib/saas/view/system/login.vue

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

Loading…
Cancel
Save