fix
1. Fix grammar errors;
2. Use Prettier to format files;
diff --git a/ui-vue3/src/base/i18n/en.ts b/ui-vue3/src/base/i18n/en.ts
index e1d99af..e453e34 100644
--- a/ui-vue3/src/base/i18n/en.ts
+++ b/ui-vue3/src/base/i18n/en.ts
@@ -25,15 +25,11 @@
configuration: 'Configuration',
event: 'Event'
},
- adjusting_the_timeout_for_application_service_provision:
- 'Adjusting the timeout for application service provision',
- enable_access_logs_for_all_instances_of_this_application:
- 'Enable access logs for all instances of this application',
- adjust_the_load_balancing_strategy_for_application_services:
- 'Adjusting the load balancing strategy for application service provision',
- adjusting_the_number_of_retries_for_application_provided_services:
- 'Adjusting the number of retries for application provided services',
- adjusting_the_negative_clustering_method_for_application_service_provision:
+ appServiceTimeout: 'Adjusting the timeout for application service provision',
+ enableAppInstanceLogs: 'Enable access logs for all instances of this application',
+ appServiceLoadBalance: 'Adjusting the load balancing strategy for application service provision',
+ appServiceRetries: 'Adjusting the number of retries for application provided services',
+ appServiceNegativeClusteringMethod:
'Adjusting the negative clustering method for application service provision',
executionLog: 'Execution Log',
clusterApproach: 'Cluster Approach',
diff --git a/ui-vue3/src/base/i18n/zh.ts b/ui-vue3/src/base/i18n/zh.ts
index 4b19828..50ce883 100644
--- a/ui-vue3/src/base/i18n/zh.ts
+++ b/ui-vue3/src/base/i18n/zh.ts
@@ -25,12 +25,11 @@
configuration: '配置',
event: '事件'
},
- adjusting_the_timeout_for_application_service_provision: '调整应用提供服务的超时时间',
- enable_access_logs_for_all_instances_of_this_application: '开启该应用所有实例的访问日志',
- adjust_the_load_balancing_strategy_for_application_services: '调整应用提供服务的负载均衡策略',
- adjusting_the_number_of_retries_for_application_provided_services: '调整应用提供服务的重试次数',
- adjusting_the_negative_clustering_method_for_application_service_provision:
- '调整应用提供服务的负集群方式',
+ appServiceTimeout: '调整应用提供服务的超时时间',
+ enableAppInstanceLogs: '开启该应用所有实例的访问日志',
+ appServiceLoadBalance: '调整应用提供服务的负载均衡策略',
+ appServiceRetries: '调整应用提供服务的重试次数',
+ appServiceNegativeClusteringMethod: '调整应用提供服务的负集群方式',
executionLog: '执行日志',
clusterApproach: '集群方式',
retryCount: '重试次数',
diff --git a/ui-vue3/src/layout/header/layout_header.vue b/ui-vue3/src/layout/header/layout_header.vue
index dc169e3..9c18b5c 100644
--- a/ui-vue3/src/layout/header/layout_header.vue
+++ b/ui-vue3/src/layout/header/layout_header.vue
@@ -173,15 +173,19 @@
.header {
background: v-bind('PRIMARY_COLOR');
padding: 0;
+
.search-group {
display: flex;
align-items: center;
+
.select-type {
width: 120px;
}
+
.input-keywords {
width: calc(100% - 152px);
}
+
.search-icon {
width: 32px;
}
diff --git a/ui-vue3/src/views/resources/instances/index.vue b/ui-vue3/src/views/resources/instances/index.vue
index 05a94e9..de41bb1 100644
--- a/ui-vue3/src/views/resources/instances/index.vue
+++ b/ui-vue3/src/views/resources/instances/index.vue
@@ -169,6 +169,5 @@
<style lang="less" scoped>
.search-table-container {
min-height: 60vh;
-
}
</style>
diff --git a/ui-vue3/src/views/resources/instances/tabs/configuration.vue b/ui-vue3/src/views/resources/instances/tabs/configuration.vue
index cac322f..7be4f3d 100644
--- a/ui-vue3/src/views/resources/instances/tabs/configuration.vue
+++ b/ui-vue3/src/views/resources/instances/tabs/configuration.vue
@@ -22,9 +22,7 @@
<template v-slot:label>
{{ $t('executionLog') }}
<a-tooltip placement="topLeft">
- <template #title>
- {{ $t('enable_access_logs_for_all_instances_of_this_application') }}(provider.accesslog)
- </template>
+ <template #title> {{ $t('enableAppInstanceLogs') }}(provider.accesslog) </template>
<Icon icon="bitcoin-icons:info-circle-outline" class="iconStyle" />
</a-tooltip>
</template>
@@ -43,9 +41,7 @@
<template v-slot:label>
{{ $t('retryCount') }}
<a-tooltip placement="topLeft">
- <template #title>{{
- $t('adjusting_the_number_of_retries_for_application_provided_services')
- }}</template>
+ <template #title>{{ $t('appServiceRetries') }}</template>
<Icon icon="bitcoin-icons:info-circle-outline" class="iconStyle" />
</a-tooltip>
</template>
@@ -57,11 +53,7 @@
<template v-slot:label>
{{ $t('loadBalance') }}
<a-tooltip placement="topLeft">
- <template #title
- >{{
- $t('adjust_the_load_balancing_strategy_for_application_services')
- }}(provider.loadbalance)</template
- >
+ <template #title>{{ $t('appServiceLoadBalance') }}(provider.loadbalance)</template>
<Icon icon="bitcoin-icons:info-circle-outline" class="iconStyle" />
</a-tooltip>
</template>
@@ -74,9 +66,7 @@
<template v-slot:label>
{{ $t('timeout') }}
<a-tooltip placement="topLeft">
- <template #title>
- {{ $t('adjusting_the_timeout_for_application_service_provision') }}(provider.timeout)
- </template>
+ <template #title> {{ $t('appServiceTimeout') }}(provider.timeout) </template>
<Icon icon="bitcoin-icons:info-circle-outline" class="iconStyle" />
</a-tooltip>
</template>
@@ -89,9 +79,7 @@
<template v-slot:label>
{{ $t('clusterApproach') }}
<a-tooltip placement="topLeft">
- <template #title>{{
- $t('adjusting_the_negative_clustering_method_for_application_service_provision')
- }}</template>
+ <template #title>{{ $t('appServiceNegativeClusteringMethod') }}</template>
<Icon icon="bitcoin-icons:info-circle-outline" class="iconStyle" />
</a-tooltip>
</template>
diff --git a/ui-vue3/src/views/resources/instances/tabs/details.vue b/ui-vue3/src/views/resources/instances/tabs/details.vue
index 52ac18b..a135518 100644
--- a/ui-vue3/src/views/resources/instances/tabs/details.vue
+++ b/ui-vue3/src/views/resources/instances/tabs/details.vue
@@ -124,18 +124,13 @@
</script>
<style lang="less" scoped>
-.ant-descriptions-item-content {
- padding-left: 20px !important;
-}
-
-.flexLayoutBox{
+.flexLayoutBox {
border: 1px solid black;
border-radius: 10px;
padding: 10px;
display: flex;
}
-
.tagsBox {
align-items: center;
justify-content: space-around;