fix h-screen

This commit is contained in:
tuxiu21 2024-03-17 17:15:39 +08:00
parent 9c56c641b6
commit 47baa30346
2 changed files with 6 additions and 4 deletions

View File

@ -30,8 +30,10 @@
:options="checkboxOptions" /> :options="checkboxOptions" />
</div> </div>
</div> </div>
<div class="flex flex-row flex-wrap justify-around"> <div class="flex flex-row flex-wrap">
<ProjectCard v-for="proj in projList" v-bind="proj" @click="handleCardClick(proj.id)"></ProjectCard> <ProjectCard
class="!w-80"
v-for="proj in projList" v-bind="proj" @click="handleCardClick(proj.id)"></ProjectCard>
<!-- <a-card hoverable--> <!-- <a-card hoverable-->
<!-- v-for="proj in projList"--> <!-- v-for="proj in projList"-->
<!-- class="w-80 mb-4"--> <!-- class="w-80 mb-4"-->
@ -70,7 +72,7 @@
<PlusOutlined class=""/> <PlusOutlined class=""/>
</template> </template>
</a-button> </a-button>
<a-button @click="setupProj">999</a-button> <!-- <a-button @click="setupProj">999</a-button> -->
<a-modal v-model:open="addModalOpen" title="添加项目" @ok="handleOk"> <a-modal v-model:open="addModalOpen" title="添加项目" @ok="handleOk">
<a-form <a-form
:label-col="labelCol" :label-col="labelCol"

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="flex flex-col h-screen"> <div class="flex flex-col">
<Header></Header> <Header></Header>
<router-view></router-view> <router-view></router-view>
</div> </div>