mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-28 20:23:26 +08:00
18 lines
445 B
Vue
18 lines
445 B
Vue
|
|
<script setup>
|
|||
|
|
import {getCanReceiveAssignment} from '@/apis/assignmentApi'
|
|||
|
|
import {onMounted, ref} from "vue";
|
|||
|
|
|
|||
|
|
const canReceiveAssignmentList=ref([]);
|
|||
|
|
onMounted( async ()=>{
|
|||
|
|
const {data:canReceiveAssignmentListData}= await getCanReceiveAssignment();
|
|||
|
|
canReceiveAssignmentList.value=canReceiveAssignmentListData;
|
|||
|
|
|
|||
|
|
});
|
|||
|
|
</script>
|
|||
|
|
|
|||
|
|
<template>
|
|||
|
|
|
|||
|
|
<div>
|
|||
|
|
<div v-for="item in canReceiveAssignmentList">{{item}}</div>
|
|||
|
|
</div>
|
|||
|
|
</template>
|