diff --git a/dbm-ui/frontend/src/components/apply-items/BusinessItems.vue b/dbm-ui/frontend/src/components/apply-items/BusinessItems.vue index de27da0e7e..7446e96c40 100644 --- a/dbm-ui/frontend/src/components/apply-items/BusinessItems.vue +++ b/dbm-ui/frontend/src/components/apply-items/BusinessItems.vue @@ -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); diff --git a/dbm-ui/frontend/src/views/dbha-switch-events/list/Index.vue b/dbm-ui/frontend/src/views/dbha-switch-events/list/Index.vue index b767f1412c..1984168fb1 100644 --- a/dbm-ui/frontend/src/views/dbha-switch-events/list/Index.vue +++ b/dbm-ui/frontend/src/views/dbha-switch-events/list/Index.vue @@ -18,7 +18,7 @@ v-model="filterDateRang" append-to-body clearable - :placeholder="$t('请选择')" + :placeholder="t('请选择')" style="width: 340px" type="datetimerange" @change="fetchTableData" /> @@ -56,7 +56,7 @@ - {{ $t('总耗时') }}: + {{ t('总耗时') }}: {{ logState.data.cost_time }} diff --git a/dbm-ui/frontend/src/views/dbha-switch-events/list/components/SwtichEventDetatils.vue b/dbm-ui/frontend/src/views/dbha-switch-events/list/components/SwtichEventDetatils.vue index f08bb98a9f..e46079aca8 100644 --- a/dbm-ui/frontend/src/views/dbha-switch-events/list/components/SwtichEventDetatils.vue +++ b/dbm-ui/frontend/src/views/dbha-switch-events/list/components/SwtichEventDetatils.vue @@ -87,7 +87,8 @@