diff --git a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss index efed5e35f..b5483c9ce 100644 --- a/nezha-fronted/src/assets/css/common/rightBoxCommon.scss +++ b/nezha-fronted/src/assets/css/common/rightBoxCommon.scss @@ -74,6 +74,13 @@ height: 32px; } .input-box { + .logsLabel.el-textarea { + .el-textarea__inner { + width: 509px; + height: 32px; + padding: 5px 70px 4px 10px; + } + } .el-textarea { .el-textarea__inner { width: 517px; diff --git a/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue b/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue index 6f578a32f..2f455f666 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/exploreItem.vue @@ -390,7 +390,6 @@ export default { this.getPanelData() this.queryMetrics() this.promqlKeys.push(getUUID()) - // this.fromData.status = this.searchMetrics[0].label this.selectMetricsLogs() }, methods: { diff --git a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue index 218bccf08..88adb3b54 100644 --- a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue +++ b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue @@ -51,7 +51,7 @@ + :class="[plugins.indexOf('metric-selector') > -1 ?'metric-selector-title':'metric-null-title']" :style="type === 'log'? 'width: 108px;' : 'width: 100px;'"> {{type === 'log' ? $t("overall.logLabels") : $t("overall.metric") }} 
- +
{{errorMsg}}
{{appendMsg}}