|
|
|
@ -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) |
|
|
|
|