Blame view

src/views/sys/lock/index.vue 401 Bytes
陈文彬 authored
1
<template>
vben authored
2
3
4
  <transition name="fade-bottom" mode="out-in">
    <LockPage v-if="getIsLock" />
  </transition>
陈文彬 authored
5
</template>
6
7
<script lang="ts" setup>
  import { computed } from 'vue';
vben authored
8
  import LockPage from './LockPage.vue';
Vben authored
9
  import { useLockStore } from '/@/store/modules/lock';
10
11
12

  const lockStore = useLockStore();
  const getIsLock = computed(() => lockStore?.getLockInfo?.isLock ?? false);
陈文彬 authored
13
</script>