Commit db423486 authored by coderTomato's avatar coderTomato

解决sql编辑器因关闭tab而消失的问题

去掉不需要的依赖
parent 102c2086
......@@ -126,20 +126,12 @@
<groupId>com.dlink</groupId>
<artifactId>dlink-gateway</artifactId>
</dependency>
<!--<dependency>
<dependency>
<groupId>com.dlink</groupId>
<artifactId>dlink-metadata-clickhouse</artifactId>
<version>0.5.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>ru.yandex.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
</dependency>
<dependency>
<groupId>com.dlink</groupId>
<artifactId>dlink-metadata-mysql</artifactId>
<version>0.5.0-SNAPSHOT</version>
</dependency>-->
</dependencies>
<build>
<plugins>
......@@ -220,4 +212,4 @@
</plugins>
<finalName>${project.artifactId}-${project.version}</finalName>
</build>
</project>
\ No newline at end of file
</project>
......@@ -48,7 +48,7 @@ public class StudioController {
}
/**
* 解释Sql
* 获取执行图
*/
@PostMapping("/getStreamGraph")
public Result getStreamGraph(@RequestBody StudioExecuteDTO studioExecuteDTO) {
......
......@@ -35,4 +35,4 @@
</dependency>
</dependencies>
</project>
\ No newline at end of file
</project>
......@@ -24,7 +24,6 @@
<dependency>
<groupId>ru.yandex.clickhouse</groupId>
<artifactId>clickhouse-jdbc</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
</project>
......@@ -24,7 +24,7 @@
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>test</scope>
<!-- <scope>test</scope>-->
</dependency>
</dependencies>
</project>
\ No newline at end of file
</project>
......@@ -26,6 +26,10 @@ const EditorTabs = (props: any) => {
if (action == 'add') {
add();
} else if (action == 'remove') {
dispatch&&dispatch({
type: "Studio/saveToolHeight",
payload: toolHeight-0.0001,
});
if (current.isModified) {
saveTask(current, dispatch);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment