mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 10:46:00 +00:00
electron app starting
This commit is contained in:
@@ -260,7 +260,7 @@
|
||||
}
|
||||
|
||||
export async function reconnect() {
|
||||
await axiosInstance.post('database-connections/refresh', { conid, database });
|
||||
await axiosInstance().post('database-connections/refresh', { conid, database });
|
||||
formDisplay.reload();
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
if (!sql) return null;
|
||||
|
||||
const response = await axiosInstance.request({
|
||||
const response = await axiosInstance().request({
|
||||
url: 'database-connections/query-data',
|
||||
method: 'post',
|
||||
params: {
|
||||
@@ -124,7 +124,7 @@
|
||||
$: if (onReferenceSourceChanged && rowData) onReferenceSourceChanged([rowData], loadedTime);
|
||||
|
||||
// async function handleConfirmSql(sql) {
|
||||
// const resp = await axiosInstance.request({
|
||||
// const resp = await axiosInstance().request({
|
||||
// url: 'database-connections/query-data',
|
||||
// method: 'post',
|
||||
// params: {
|
||||
|
||||
Reference in New Issue
Block a user