diff --git a/nezha-fronted/src/components/common/alert/nzTooltip.vue b/nezha-fronted/src/components/common/alert/nzTooltip.vue index 6c91ede71..2a417c3c4 100644 --- a/nezha-fronted/src/components/common/alert/nzTooltip.vue +++ b/nezha-fronted/src/components/common/alert/nzTooltip.vue @@ -70,6 +70,7 @@ export default { tooltipHover (show) { if (show) { clearTimeout(this.that.timeout) + this.that.timeout = null } else { this.that.loading = false } diff --git a/nezha-fronted/src/components/common/table/settings/endpointTable.vue b/nezha-fronted/src/components/common/table/settings/endpointTable.vue index 5172916d8..0c721f733 100644 --- a/nezha-fronted/src/components/common/table/settings/endpointTable.vue +++ b/nezha-fronted/src/components/common/table/settings/endpointTable.vue @@ -323,6 +323,10 @@ export default { this.$set(item[type], 'loading', loading) }, 200) } else { + if (item[type].timeout) { + clearTimeout(item[type].timeout) + item[type].timeout = null + } this.$set(item[type], 'loading', loading) } // this.$set(this.tableData,index,item);// 调用父组件