Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(frontend): dbha切换切换事件日志窗口高度问题修复 #6653 #6654

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Loading