mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
feat(datasource): datasource manage
This commit is contained in:
@@ -133,6 +133,7 @@ const closeField = () => {
|
||||
}
|
||||
|
||||
const refresh = () => {
|
||||
emits('refresh')
|
||||
datasourceApi.tableList(props.info.id).then((res) => {
|
||||
tableList.value = res
|
||||
if (!currentTable.value.table_name) return
|
||||
@@ -140,7 +141,6 @@ const refresh = () => {
|
||||
if (!nameArr.includes(currentTable.value.table_name)) {
|
||||
currentTable.value = {}
|
||||
}
|
||||
emits('refresh')
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -116,7 +116,6 @@ const refresh = () => {
|
||||
}
|
||||
|
||||
const refreshData = () => {
|
||||
console.log(123)
|
||||
search()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user