| | |
| | | } |
| | | " |
| | | > |
| | | <i class="iconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont" v-if="isActive(v)"></i> |
| | | <i class="myiconfont icon-webicon318 layout-navbars-tagsview-ul-li-iconfont" v-if="isActive(v)"></i> |
| | | <SvgIcon :name="v.meta.icon" v-if="!isActive(v) && getThemeConfig.isTagsviewIcon" class="pr5" /> |
| | | <span>{{ setTagsViewNameI18n(v) }}</span> |
| | | <template v-if="isActive(v)"> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts" name="layoutTagsView"> |
| | | import { |
| | | defineAsyncComponent, |
| | | reactive, |
| | | onMounted, |
| | | computed, |
| | | ref, |
| | | nextTick, |
| | | onBeforeUpdate, |
| | | onBeforeMount, |
| | | onUnmounted, |
| | | watch, |
| | | } from 'vue'; |
| | | import { useRoute, useRouter, onBeforeRouteUpdate } from 'vue-router'; |
| | | import Sortable from 'sortablejs'; |
| | | import { ElMessage } from 'element-plus'; |
| | | import { storeToRefs } from 'pinia'; |
| | | import Sortable from 'sortablejs'; |
| | | import { |
| | | computed, |
| | | defineAsyncComponent, |
| | | nextTick, |
| | | onBeforeMount, |
| | | onBeforeUpdate, |
| | | onMounted, |
| | | onUnmounted, |
| | | reactive, |
| | | ref, |
| | | watch, |
| | | } from 'vue'; |
| | | import { onBeforeRouteUpdate, useRoute, useRouter } from 'vue-router'; |
| | | import pinia from '/@/stores/index'; |
| | | import { useTagsViewRoutes } from '/@/stores/tagsViewRoutes'; |
| | | import { useThemeConfig } from '/@/stores/themeConfig'; |
| | | import { useKeepALiveNames } from '/@/stores/keepAliveNames'; |
| | | import { useRoutesList } from '/@/stores/routesList'; |
| | | import { Session } from '/@/utils/storage'; |
| | | import { useTagsViewRoutes } from '/@/stores/tagsViewRoutes'; |
| | | import { useThemeConfig } from '/@/stores/themeConfig'; |
| | | import { isObjectValueEqual } from '/@/utils/arrayOperation'; |
| | | import other from '/@/utils/other'; |
| | | import mittBus from '/@/utils/mitt'; |
| | | import other from '/@/utils/other'; |
| | | import { Session } from '/@/utils/storage'; |
| | | |
| | | // 引入组件 |
| | | const Contextmenu = defineAsyncComponent(() => import('/@/layout/navBars/tagsView/contextmenu.vue')); |