fix: 划入 清除定时器

This commit is contained in:
zhangyu
2021-11-11 16:46:54 +08:00
parent 6789846ff8
commit b82cbedd22
2 changed files with 5 additions and 0 deletions

View File

@@ -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);// 调用父组件