qsh 1 month ago
parent 514b602599
commit 4726770e3f
  1. 4
      src/views/Kpi/Score/index.vue

@ -173,8 +173,10 @@ async function getList() {
} }
let timer = ref(null) let timer = ref(null)
const lastId = ref('')
function handleSave() { function handleSave() {
clearTimeout(timer.value) lastId.value == row.id && clearTimeout(timer.value)
// clearTimeout(timer.value)
timer.value = setTimeout(() => { timer.value = setTimeout(() => {
message.success('正在保存数据,请稍后') message.success('正在保存数据,请稍后')
}, 2000) }, 2000)

Loading…
Cancel
Save