diff --git a/src/components/Selector.vue b/src/components/Selector.vue index 0b46c3db..9f31e270 100644 --- a/src/components/Selector.vue +++ b/src/components/Selector.vue @@ -55,7 +55,7 @@ const props = defineProps({ type: [Array, String] as PropType, default: () => [], }, - size: { type: String }, + size: { type: String, default: "default" }, placeholder: { type: String, default: "Select a option" }, borderRadius: { type: Number, default: 3 }, multiple: { type: Boolean, default: false }, diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts index e7b840fa..7d368a34 100644 --- a/src/locales/lang/en.ts +++ b/src/locales/lang/en.ts @@ -75,6 +75,12 @@ const msg = { areaOpacity: "Area Opacity", editGraph: "Edit Graph Options", dashboardName: "Select Dashboard Name", + linkDashboard: "Dashboard name related with topology calls", + linkMetrics: "Metrics related with topology calls", + nodeDashboard: "Dashboard name related with topology nodes", + nodeMetrics: "Metrics related with topology nodes", + instanceDashboard: "Dashboard name related with service instances", + endpointDashboard: "Dashboard name related with endpoints", hourTip: "Select Hour", minuteTip: "Select Minute", secondTip: "Select Second", diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts index 4156e0cf..2a31de40 100644 --- a/src/locales/lang/zh.ts +++ b/src/locales/lang/zh.ts @@ -74,6 +74,12 @@ const msg = { areaOpacity: "透明度", editGraph: "编辑图表选项", dashboardName: "选择仪表板名称", + linkDashboard: "拓扑线关联的仪表板名称", + linkMetrics: "拓扑线关联的指标", + nodeDashboard: "拓节点关联的仪表板名称", + nodeMetrics: "拓扑节点关联的指标", + instanceDashboard: "拓节点关联的实例的仪表板名称", + endpointDashboard: "拓节点端点的实例的仪表板名称", hourTip: "选择小时", minuteTip: "选择分钟", secondTip: "选择秒数", diff --git a/src/views/dashboard/related/topology/Graph.vue b/src/views/dashboard/related/topology/Graph.vue index 948d9fcb..4d0bb07a 100644 --- a/src/views/dashboard/related/topology/Graph.vue +++ b/src/views/dashboard/related/topology/Graph.vue @@ -19,7 +19,7 @@ limitations under the License. --> v-loading="loading" :style="`height: ${height}`" > -
+