fix: 动态固定高度

master
xjs 2025-05-27 13:55:53 +08:00
parent 9703cd9df9
commit 331bfdd0e6
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<div class="h-screen flex flex-col">
<HeaderTip :score="score" :batch-name="batchName" :subject-group="subjectGroup" :wishList="wishList" />
<div class="flex-1 h-0 overflow-y-auto">
<virtual-list v-model="wishList" data-key="sort" lock-axis="x" handle=".handle" chosen-class="choose-item">
<virtual-list v-model="wishList" data-key="sort" lock-axis="x" handle=".handle" chosen-class="choose-item" class="h-full">
<template v-slot:item="{ record, index }">
<CollegeItem :college="record" :college-index="index" :score="score" />
</template>