<!--  -->
<template>
  <view v-if="authType !== ''">
    <ct-popup :show="authType !== ''" round="10" :showClose="true" @close="closeAuthModal">
      <login></login>
    </ct-popup>
  </view>
</template>

<script setup>
import { closeAuthModal } from '@/hooks/useModal'
import ctPopup from '@/components/ui/ct-popup'
import { modalStore } from '@/store/modal';
import login from './authModal/login'


const modal = modalStore()
import { computed } from 'vue'


// 授权弹窗类型
const authType = computed(() => modal.auth)


</script>
<style lang="scss" scoped>
</style>
