mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
refactor: DataSource UI
This commit is contained in:
@@ -213,7 +213,14 @@ const editField = (row: any) => {
|
||||
|
||||
const changeStatus = (row: any) => {
|
||||
currentField.value = row
|
||||
saveField()
|
||||
datasourceApi.saveField(currentField.value).then(() => {
|
||||
closeField()
|
||||
ElMessage({
|
||||
message: t('common.save_success'),
|
||||
type: 'success',
|
||||
showClose: true,
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
const closeField = () => {
|
||||
|
||||
Reference in New Issue
Block a user