fix: 修复版本号翻译问题

This commit is contained in:
wangdan-fit2cloud 2024-05-10 11:05:04 +08:00
parent 18861b45db
commit 61a0b2c908
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() { function loadDataset() {
if (props.total > props.page_size) { if (props.total > props.page_size) {
current.value += 1 current.value += 1
emit('update:current_page', current) emit('update:current_page', current.value)
emit('load') emit('load')
} }
} }

View File

@ -32,7 +32,7 @@
</div> </div>
</el-card> </el-card>
</div> </div>
<div class="text-center">{{ $t("layout.topbar.version") }}:{{ version }}</div> <div class="text-center">{{ $t("layout.topbar.avatar.version") }}:{{ version }}</div>
</el-dialog> </el-dialog>
</template> </template>
<script setup lang="ts"> <script setup lang="ts">

View File

@ -4,7 +4,7 @@
:size="paragraph_list.length" :size="paragraph_list.length"
:total="modelValue.length" :total="modelValue.length"
:page_size="page_size" :page_size="page_size"
v-bind:current_page="current_page" v-model:current_page="current_page"
@load="next()" @load="next()"
:loading="loading" :loading="loading"
> >

View File

@ -217,7 +217,7 @@ defineExpose({
width: 100%; width: 100%;
.left-height { .left-height {
max-height: calc(var(--create-dataset-height) - 70px); max-height: calc(var(--create-dataset-height) - 110px);
overflow-x: hidden; overflow-x: hidden;
} }