mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
perf: 优化应用、知识库列表显示个数
This commit is contained in:
parent
93d40b42e0
commit
10fc464fb2
|
|
@ -37,7 +37,7 @@
|
|||
:loading="loading"
|
||||
>
|
||||
<el-row :gutter="15">
|
||||
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="4" class="mb-16">
|
||||
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" class="mb-16">
|
||||
<CardAdd
|
||||
:title="$t('views.application.applicationList.card.createApplication')"
|
||||
@click="openCreateDialog"
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
:sm="12"
|
||||
:md="8"
|
||||
:lg="6"
|
||||
:xl="4"
|
||||
:xl="6"
|
||||
v-for="(item, index) in applicationList"
|
||||
:key="index"
|
||||
class="mb-16"
|
||||
|
|
|
|||
|
|
@ -37,11 +37,11 @@
|
|||
:loading="loading"
|
||||
>
|
||||
<el-row :gutter="15">
|
||||
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="4" class="mb-16">
|
||||
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" class="mb-16">
|
||||
<CardAdd title="创建知识库" @click="openCreateDialog" />
|
||||
</el-col>
|
||||
<template v-for="(item, index) in datasetList" :key="index">
|
||||
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="4" class="mb-16">
|
||||
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" class="mb-16">
|
||||
<CardBox
|
||||
:title="item.name"
|
||||
:description="item.desc"
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
:loading="loading"
|
||||
>
|
||||
<el-row :gutter="15">
|
||||
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="4" class="mb-16">
|
||||
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" class="mb-16">
|
||||
<CardAdd title="创建函数" @click="openCreateDialog()" />
|
||||
</el-col>
|
||||
<el-col
|
||||
|
|
|
|||
Loading…
Reference in New Issue