Merge branch 'dev-3.6' of git.mesalab.cn:nezha/nezha-fronted into dev-3.7
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<el-table
|
||||
id="pingTable"
|
||||
ref="dataTable"
|
||||
:height="'calc(100% - 10px)'"
|
||||
:height="'calc(100% - 80px)'"
|
||||
:row-key="rowKey"
|
||||
:data="tableData"
|
||||
border
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<el-table
|
||||
id="traceTable"
|
||||
ref="dataTable"
|
||||
:height="'calc(100% - 10px)'"
|
||||
:height="'calc(100% - 80px)'"
|
||||
:data="tableData"
|
||||
:row-key="rowKey"
|
||||
border
|
||||
|
||||
Reference in New Issue
Block a user