Skip to content

Commit

Permalink
fix(frontend): dbha切换切换事件日志窗口高度问题修复 #6653
Browse files Browse the repository at this point in the history
  • Loading branch information
jinquantianxia committed Sep 4, 2024
1 parent 7e48048 commit 20ac1f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
},
{
validator: (val: string) => {
if (hasEnglishName.value) {
if (hasEnglishName.value || val === '') {
return true;
}
return !bizList.value!.find((item) => item.english_name === val);
Expand Down
4 changes: 2 additions & 2 deletions dbm-ui/frontend/src/views/dbha-switch-events/list/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
v-model="filterDateRang"
append-to-body
clearable
:placeholder="$t('请选择')"
:placeholder="t('请选择')"
style="width: 340px"
type="datetimerange"
@change="fetchTableData" />
Expand Down Expand Up @@ -56,7 +56,7 @@
</BkTag>
</template>
<span>
{{ $t('总耗时') }}:
{{ t('总耗时') }}:
{{ logState.data.cost_time }}
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@

<style lang="less" scoped>
.switch-event-details {
height: 100%;
height: calc(100vh - 52px);
max-height: calc(100vh - 52px);
padding: 16px;
}
</style>

0 comments on commit 20ac1f9

Please sign in to comment.