mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
commit
d724a54340
|
|
@ -56,7 +56,7 @@ const disabledScroll = computed(() => props.size > 0 && (props.loading || noMore
|
|||
function loadDataset() {
|
||||
if (props.total > props.page_size) {
|
||||
current.value += 1
|
||||
emit('update:current_page', current)
|
||||
emit('update:current_page', current.value)
|
||||
emit('load')
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
</div>
|
||||
</el-card>
|
||||
</div>
|
||||
<div class="text-center">{{ $t("layout.topbar.version") }}:{{ version }}</div>
|
||||
<div class="text-center">{{ $t("layout.topbar.avatar.version") }}:{{ version }}</div>
|
||||
</el-dialog>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
:size="paragraph_list.length"
|
||||
:total="modelValue.length"
|
||||
:page_size="page_size"
|
||||
v-bind:current_page="current_page"
|
||||
v-model:current_page="current_page"
|
||||
@load="next()"
|
||||
:loading="loading"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -217,7 +217,7 @@ defineExpose({
|
|||
width: 100%;
|
||||
|
||||
.left-height {
|
||||
max-height: calc(var(--create-dataset-height) - 70px);
|
||||
max-height: calc(var(--create-dataset-height) - 110px);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue