格式化代码

This commit is contained in:
iVampireSP.com 2023-12-07 19:43:06 +08:00
parent 6f0a4beb57
commit 2feb51adf7
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -13,9 +13,17 @@
</v-row> </v-row>
</div> </div>
<div v-else> <div v-else>
<v-btn class="mb-3" @click="goto_create_document">创建</v-btn>
<v-row> <v-row>
<v-col cols="12" md="4" xl="2" v-for="document in documents.Data" :key="document.id"> <v-col
<v-card class="mt-3"> cols="12"
md="4"
xl="2"
v-for="document in documents.Data"
:key="document.id"
>
<v-card>
<v-card-title>{{ document.Title }}</v-card-title> <v-card-title>{{ document.Title }}</v-card-title>
<v-card-subtitle>{{ <v-card-subtitle>{{
document.Chunked ? "分块的文档" : "还没有处理" document.Chunked ? "分块的文档" : "还没有处理"
@ -31,7 +39,6 @@
</v-card> </v-card>
</v-col> </v-col>
</v-row> </v-row>
</div> </div>
<div v-if="documents.Total == 0"> <div v-if="documents.Total == 0">
<v-alert text="看样子你还没有创建任何文档。"></v-alert> <v-alert text="看样子你还没有创建任何文档。"></v-alert>
@ -54,8 +61,6 @@
</v-row> </v-row>
</v-container> </v-container>
</div> </div>
<v-btn class="mt-3" @click="goto_create_document">创建</v-btn>
</template> </template>
<script setup> <script setup>