fix cookie

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-19 15:18:34 +07:00
parent 1774cf1991
commit 37372666a4
2 changed files with 21 additions and 3 deletions

View file

@ -5,7 +5,7 @@ import axios from 'axios'
import { useRouter } from 'vue-router'
import { useQuasar } from 'quasar'
import { useCounterMixin } from '@/stores/mixin'
import { setAuthen, authenticated } from '@/plugins/auth'
import { setAuthen, authenticated, setAuthenCheckin } from '@/plugins/auth'
import CustomComponent from '@/components/CustomDialog.vue'
import env from '@/api/index'
@ -30,7 +30,7 @@ async function onSubmit() {
},
})
.then(async (res) => {
setAuthen(res.data.result)
setAuthenCheckin(res.data.result)
})
.catch((err) => {
$q.dialog({