fix: #333 hover blue. fix: #332 v-if replacing v-show

This commit is contained in:
Cindy Chang
2024-08-14 11:14:35 +08:00
parent 2ec7029887
commit 840d81da9f
2 changed files with 13 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div id="account_menu" v-show="isAcctMenuOpen" class="absolute top-0 w-[232px] bg-white right-[0px] rounded shadow-lg bg-[#ffffff]">
<div id="account_menu" v-if="isAcctMenuOpen" class="absolute top-0 w-[232px] bg-white right-[0px] rounded shadow-lg bg-[#ffffff]">
<div id="greeting" class="w-full border-b border-[#CBD5E1]">
<span class="m-4 h-[48px]">
{{ i18next.t("AcctMgmt.hi") }}{{ userData.name }}
@@ -34,7 +34,7 @@ import { computed, onMounted, ref, } from 'vue';
import { mapActions, mapState, storeToRefs } from 'pinia';
import i18next from '@/i18n/i18n';
import LoginStore from '@/stores/login.ts';
import AcctMgmtStore from '@/stores/acctMgmt';
import AcctMgmtStore from '@/stores/acctMgmt.ts';
import AllMapDataStore from '@/stores/allMapData.js';
import ConformanceStore from '@/stores/conformance.js';
import { leaveFilter, leaveConformance } from '@/module/alertModal.js';