diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index 96eab6476..69e0f2ec7 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -2476,4 +2476,7 @@ li{ position: fixed !important; visibility: hidden; } +/deep/ .el-tooltip{ + outline: none; +} diff --git a/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue b/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue index e2f534fdf..4c442e802 100644 --- a/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue +++ b/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue @@ -263,6 +263,7 @@ message: '结束时间必须大于开始时间', type: 'error' }); + return; } let params={...this.editAlertSilence}; delete params.time; @@ -329,8 +330,10 @@ dateChange(val,type){ console.log(val) if(type==='startAt'){ + this.editAlertSilence.startAt=bus.timeFormate(new Date(val), 'yyyy-MM-dd hh:mm:ss'); this.startAtTamp=new Date(val).getTime(); } else if(type==='endAt'){ + this.editAlertSilence.endAt=bus.timeFormate(new Date(val), 'yyyy-MM-dd hh:mm:ss'); this.endAtTamp=new Date(val).getTime(); } this.$forceUpdate