Commit db423486 authored by coderTomato's avatar coderTomato

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

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