mirror of
https://github.com/m1ngsama/FUJI.git
synced 2025-12-25 02:56:38 +00:00
commit
bdf7456614
1 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ onMounted(() => {
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="flex items-center justify-center w-10">
|
<div class="flex items-center justify-center w-12">
|
||||||
<div @click="onSignIn" v-if="isAuthenticated === false" class="">
|
<div @click="onSignIn" v-if="isAuthenticated === false" class="">
|
||||||
<a class="nav-item-content px-2 hover:text-[#2997ff] text-nowrap cursor-pointer">登入</a>
|
<a class="nav-item-content px-2 hover:text-[#2997ff] text-nowrap cursor-pointer">登入</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -63,6 +63,7 @@ onMounted(() => {
|
||||||
<MenuItem v-slot="{ active }">
|
<MenuItem v-slot="{ active }">
|
||||||
<button
|
<button
|
||||||
@click="onSignOut"
|
@click="onSignOut"
|
||||||
|
class="text-nowrap"
|
||||||
:class="[active ? 'bg-violet-500 text-white' : 'text-gray-900', 'flex w-full items-center rounded-md px-2 py-2 text-sm']"
|
:class="[active ? 'bg-violet-500 text-white' : 'text-gray-900', 'flex w-full items-center rounded-md px-2 py-2 text-sm']"
|
||||||
>
|
>
|
||||||
登出
|
登出
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue