diff --git a/src/views/Kpi/Score/index.vue b/src/views/Kpi/Score/index.vue index 31392e4..88b6a45 100644 --- a/src/views/Kpi/Score/index.vue +++ b/src/views/Kpi/Score/index.vue @@ -173,8 +173,10 @@ async function getList() { } let timer = ref(null) +const lastId = ref('') function handleSave() { - clearTimeout(timer.value) + lastId.value == row.id && clearTimeout(timer.value) + // clearTimeout(timer.value) timer.value = setTimeout(() => { message.success('正在保存数据,请稍后') }, 2000)