fix cookie
This commit is contained in:
parent
1774cf1991
commit
37372666a4
2 changed files with 21 additions and 3 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue