feat:移植工程
This commit is contained in:
18
src/components/Home/Plan/PlanList.vue
Normal file
18
src/components/Home/Plan/PlanList.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<div class="plan-list">
|
||||
<el-empty v-if="planStore.planList.length === 0" />
|
||||
|
||||
<el-scrollbar v-else>
|
||||
<plan-card v-for="(item, index) in planStore.planList"
|
||||
:key="index" :plan="item">
|
||||
</plan-card>
|
||||
</el-scrollbar>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import PlanCard from '@/components/Home/Plan/PlanCard.vue'
|
||||
import { usePlanStore } from '@/store/plan.ts'
|
||||
|
||||
const planStore = usePlanStore()
|
||||
</script>
|
||||
Reference in New Issue
Block a user