@@ -7,7 +7,7 @@
"title": "Flask Backend address.",
"description": "Flask Backend address.",
"type": "string",
- "default": "http://192.168.199.80:18082"
+ "default": "http://192.168.199.107:18082"
}
},
"additionalProperties": false
@@ -119,7 +119,7 @@ export class DatasourceFormDialogBody
datasource: v.type
} as IDatasourceForm;
const res = await textDatasource(params);
- if (res) {
+ if (res && res !== 'error') {
void message.success('测试成功');
} else {
void message.error('测试失败');
@@ -1,5 +1,5 @@
const config = {
- endpoint: 'http://192.168.199.80:18082'
+ endpoint: 'http://192.168.199.107:18082'
};
export default config;