Merge pull request #411 from 1Panel-dev/pr@main@fix-bug

fix: 修复版本号翻译问题
This commit is contained in:
wangdan-fit2cloud 2024-05-10 11:06:37 +08:00 committed by GitHub
commit d724a54340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -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')
}
}

View File

@ -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">

View File

@ -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"
>

View File

@ -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;
}