Skip to content

Commit

Permalink
Merge pull request #411 from 1Panel-dev/pr@main@fix-bug
Browse files Browse the repository at this point in the history
fix: 修复版本号翻译问题
  • Loading branch information
wangdan-fit2cloud committed May 10, 2024
2 parents 18861b4 + 61a0b2c commit d724a54
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/infinite-scroll/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/layout/components/top-bar/avatar/AboutDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/dataset/component/ParagraphList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/dataset/step/StepSecond.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d724a54

Please sign in to comment.