格式化代码

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