<template>
  <ProjectList :expandAction="actionList" />
</template>

<script setup lang="ts">
import { ref } from 'vue';
import ProjectList from './components/projectList.vue';

const actionList = ref<any>([
  {
    title: '取消关注',
    type: 'danger',
    needConfirm: true,
    confirmTip: '确定取消关注吗？',
    click: (row: any) => {
      console.log('取消关注', row);
    },
  },
]);
</script>
