Merge branch 'dev-3.6' of git.mesalab.cn:nezha/nezha-fronted into dev-3.7

This commit is contained in:
zyh
2023-04-23 14:25:18 +08:00
16 changed files with 138 additions and 70 deletions

View File

@@ -249,7 +249,8 @@ export default {
tableDataInitNum: 0,
alertRuleShow: false,
alertRuleId: '',
alertRuleObj: ''
alertRuleObj: '',
timeRule: ''
}
},
computed: {
@@ -518,7 +519,7 @@ export default {
},
// alertName鼠标划入
alertMessageHover (item, loading, e) {
clearTimeout(this.timer)
clearTimeout(this.timeRule)
if (e) {
const dom = e.currentTarget
const position = dom.getBoundingClientRect()
@@ -527,13 +528,13 @@ export default {
this.alertRuleObj = item
}
this.$set(item.alertRule, 'loading', loading)
this.timer = setTimeout(() => {
this.timeRule = setTimeout(() => {
this.alertRuleShow = loading
}, 500)
this.flag = loading
},
tipHoverRule (tipLoading) {
clearTimeout(this.timer)
clearTimeout(this.timeRule)
if (this.flag === false) {
this.alertRuleShow = tipLoading
}

View File

@@ -2,7 +2,7 @@
<el-table
id="pingTable"
ref="dataTable"
:height="'calc(100% - 10px)'"
:height="'calc(100% - 80px)'"
:row-key="rowKey"
:data="tableData"
border

View File

@@ -2,7 +2,7 @@
<el-table
id="traceTable"
ref="dataTable"
:height="'calc(100% - 10px)'"
:height="'calc(100% - 80px)'"
:data="tableData"
:row-key="rowKey"
border