mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 17:26:55 +08:00
fix(System Variables): Batch delete on the last page. All variables will disappear after deletion; a forced refresh is required.
This commit is contained in:
@@ -82,7 +82,7 @@ const deleteBatchUser = () => {
|
||||
message: t('dashboard.delete_success'),
|
||||
})
|
||||
multipleSelectionAll.value = []
|
||||
search()
|
||||
handleCurrentChange(1)
|
||||
})
|
||||
})
|
||||
}
|
||||
@@ -102,7 +102,7 @@ const deleteHandler = (row: any) => {
|
||||
type: 'success',
|
||||
message: t('dashboard.delete_success'),
|
||||
})
|
||||
search()
|
||||
handleCurrentChange(1)
|
||||
})
|
||||
})
|
||||
}
|
||||
@@ -258,7 +258,7 @@ const saveHandler = () => {
|
||||
type: 'success',
|
||||
message: t('common.save_success'),
|
||||
})
|
||||
search()
|
||||
handleCurrentChange(1)
|
||||
onFormClose()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user