summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhangyu <[email protected]>2022-08-01 14:42:57 +0800
committerzhangyu <[email protected]>2022-08-01 14:42:57 +0800
commit3e62e7bd5f21a29d9859c6fb26fe87b9bf7a17d9 (patch)
treeaf0a1f04a543f7beff22e029279ee4a08fe4e78e
parent8dbfeb6d75c64fcf425a70b17f4970082fee2d7e (diff)
styke:修改explore - log 默认显示两行的问题dev-3.3
-rw-r--r--nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue
index b9b5e4394..b03d3f49d 100644
--- a/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue
+++ b/nezha-fronted/src/components/page/dashboard/explore/promqlInput.vue
@@ -89,7 +89,7 @@
v-if="type == 'log'"
:id="inputId"
v-model="expressionList[index]"
- size="small" :rows="2"
+ size="small" :rows="1"
class="not-fixed-height no-resize"
type="textarea"
show-word-limit maxlength="256"
@@ -252,7 +252,7 @@
type="textarea"
:maxlength="styleType === 3 ? 512 : 4096"
show-word-limit
- size="small" :rows="2"
+ size="small" :rows="1"
class="not-fixed-height no-resize"
ref="elInput"
></el-input>