Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dlink
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaowei
dlink
Commits
4830cde7
Commit
4830cde7
authored
Jun 17, 2021
by
godkaikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.2.2-rc4
parent
2807f7e5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
80 additions
and
3 deletions
+80
-3
dependency-reduced-pom.xml
dlink-client/dlink-client-1.13/dependency-reduced-pom.xml
+70
-0
index.tsx
dlink-web/src/components/Studio/StudioEdit/index.tsx
+1
-0
index.tsx
dlink-web/src/components/Studio/StudioMenu/index.tsx
+5
-2
model.ts
dlink-web/src/pages/FlinkSqlStudio/model.ts
+1
-1
Welcome.tsx
dlink-web/src/pages/Welcome.tsx
+3
-0
No files found.
dlink-client/dlink-client-1.13/dependency-reduced-pom.xml
0 → 100644
View file @
4830cde7
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<parent>
<artifactId>
dlink-client
</artifactId>
<groupId>
com.dlink
</groupId>
<version>
0.3.0-SANPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
dlink-client-1.13
</artifactId>
<build>
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.8.0
</version>
<configuration>
<source>
1.8
</source>
<target>
1.8
</target>
</configuration>
</plugin>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>
jar-with-dependencies
</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<artifactId>
maven-shade-plugin
</artifactId>
<version>
3.2.1
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
shade
</goal>
</goals>
<configuration>
<transformers>
<transformer>
<resource>
reference.conf
</resource>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>
*:*
</artifact>
<excludes>
<exclude>
META-INF/*.SF
</exclude>
<exclude>
META-INF/*.DSA
</exclude>
<exclude>
META-INF/*.RSA
</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<java.version>
1.8
</java.version>
<scala.binary.version>
2.11
</scala.binary.version>
<flink.version>
1.13.1
</flink.version>
<maven.compiler.source>
1.8
</maven.compiler.source>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.target>
1.8
</maven.compiler.target>
<junit.version>
4.12
</junit.version>
</properties>
</project>
dlink-web/src/components/Studio/StudioEdit/index.tsx
View file @
4830cde7
...
...
@@ -52,6 +52,7 @@ const FlinkSqlEditor = (props:any) => {
return
0
;
};
const
tabIndex
=
getTabIndex
();
const
code
:
any
=
useRef
(
tabs
.
panes
[
tabIndex
].
value
?
tabs
.
panes
[
tabIndex
].
value
:
''
);
// const code: any = useRef(current.sql ? current.sql : '');
// const code: any = useRef(value ? value.formulaContent : '');
...
...
dlink-web/src/components/Studio/StudioMenu/index.tsx
View file @
4830cde7
...
...
@@ -25,8 +25,11 @@ const StudioMenu = (props: any) => {
const
{
tabs
,
current
,
currentPath
,
form
,
dispatch
}
=
props
;
const
execute
=
()
=>
{
let
selection
=
current
.
monaco
.
current
.
editor
.
getSelection
();
let
selectsql
=
current
.
monaco
.
current
.
editor
.
getModel
().
getValueInRange
(
selection
);
let
selectsql
=
null
;
if
(
current
.
monaco
.
current
)
{
let
selection
=
current
.
monaco
.
current
.
editor
.
getSelection
();
selectsql
=
current
.
monaco
.
current
.
editor
.
getModel
().
getValueInRange
(
selection
);
}
if
(
selectsql
==
null
||
selectsql
==
''
){
selectsql
=
current
.
value
;
}
...
...
dlink-web/src/pages/FlinkSqlStudio/model.ts
View file @
4830cde7
...
...
@@ -148,7 +148,7 @@ const Model: ModelType = {
savePointPath
:
''
,
parallelism
:
1
,
fragment
:
true
,
clusterId
:
'0'
,
clusterId
:
0
,
session
:
''
,
maxRowNum
:
100
,
alias
:
'草稿'
,
...
...
dlink-web/src/pages/Welcome.tsx
View file @
4830cde7
...
...
@@ -223,6 +223,9 @@ export default (): React.ReactNode => {
<
li
>
<
Link
>
解决了首页更新日志点击会打开新连接的问题
</
Link
>
</
li
>
<
li
>
<
Link
>
解决了首次加载草稿无法执行 Sql 的问题
</
Link
>
</
li
>
</
ul
>
</
Paragraph
>
</
Timeline
.
Item
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment