sc
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user