<template>
  <a-typography-title :heading="6">个人信息</a-typography-title>
  <c-descriptions
    :model-value="userStore.user"
    :option="{
      columns
    }"
  ></c-descriptions>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { useUserStore } from '@/store/user'

const userStore = useUserStore()
const columns = ref([
  {
    name: '姓名',
    prop: 'fullName',
    disabled: true
  },
  {
    name: '手机号',
    prop: 'phone',
    disabled: true
  },
  {
    name: '所属企业',
    prop: 'tenantName'
  }
])
</script>
