session, perbaikan lain lain
This commit is contained in:
No files matched your search
@@ -9,7 +9,7 @@ const { session, refresh, update, reset, overwrite } = await useSession()
|
||||
|
||||
const sidebar = async () => {
|
||||
console.log('erwer')
|
||||
// await overwrite({ "test": "This replaces all current data of the session without overwriting the current session itself" })
|
||||
await update({ "test": "This replaces all current data of the session without overwriting the current session itself" })
|
||||
|
||||
console.log(session.value)
|
||||
// const a = await getSidebar()
|
||||
@@ -28,7 +28,8 @@ const sidebar = async () => {
|
||||
}
|
||||
|
||||
const resett = async () => {
|
||||
await reset()
|
||||
console.log("ini session",session.value)
|
||||
// await reset()
|
||||
}
|
||||
</script>
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user