diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index b3c856f8d..21b1101fb 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -206,7 +206,12 @@ li{ padding: 0 5px; font-size: 12px; } - +.el-textarea .el-input__count { /*防止字数限制提示信息遮挡内容和滚动条*/ + right: 20px; +} +.el-textarea__inner { + padding: 5px 60px 5px 15px; +} .nz-input-group-prepend { border-radius: 4px 0 0 4px; } diff --git a/nezha-fronted/src/components/common/rightBox/editEndpointBox.vue b/nezha-fronted/src/components/common/rightBox/editEndpointBox.vue index 4ed2dc14d..55768799e 100644 --- a/nezha-fronted/src/components/common/rightBox/editEndpointBox.vue +++ b/nezha-fronted/src/components/common/rightBox/editEndpointBox.vue @@ -137,8 +137,8 @@ -
-
+
+
@@ -148,9 +148,9 @@
-
-
{{item.key}}={{item.value}}
-
+
+
+
{{item.key}}={{item.value}}
diff --git a/nezha-fronted/src/components/common/rightBox/moduleBox.vue b/nezha-fronted/src/components/common/rightBox/moduleBox.vue index 09acbdf1d..a5f262c2e 100644 --- a/nezha-fronted/src/components/common/rightBox/moduleBox.vue +++ b/nezha-fronted/src/components/common/rightBox/moduleBox.vue @@ -121,8 +121,12 @@ {required: true, message: this.$t('validate.required'), trigger: 'change'} ], port: [ - {validator:port, trigger: 'blur'} + {validator:port, trigger: 'blur'}, + {required: true, message: this.$t('validate.required'), trigger: 'blur'}, ], + path: [ + {required: true, message: this.$t('validate.required'), trigger: 'blur'}, + ] }, projectList: [], } diff --git a/nezha-fronted/src/components/page/asset/asset.vue b/nezha-fronted/src/components/page/asset/asset.vue index d97e09985..5956a4c34 100644 --- a/nezha-fronted/src/components/page/asset/asset.vue +++ b/nezha-fronted/src/components/page/asset/asset.vue @@ -11,7 +11,7 @@