riku
2024-05-09 75aeb4e63339b60f9559af984c7d9f87a7cba24a
src/components/core/CoreMenu.vue
@@ -1,5 +1,5 @@
<template>
  <div class="map-mode-change p-events-auto">
  <div v-show="status == 0" class="map-mode-change p-events-auto">
    <template v-for="(item, index) in menu" :key="item.path">
      <a :class="btnClz(item.selected)" @click="navTo(index)">
        <div>{{ item.name }}</div>
@@ -41,6 +41,9 @@
</template>
<script>
import { mapState } from 'pinia';
import { useMapAnimationStore } from '@/stores/map-animation';
export default {
  data() {
    return {
@@ -69,7 +72,9 @@
      ]
    };
  },
  computed: {},
  computed: {
    ...mapState(useMapAnimationStore, ['status'])
  },
  methods: {
    btnClz(selected) {
      return (