Skip to content

Commit 613645a

Browse files
committed
fix groovy json bug
1 parent 438e82f commit 613645a

File tree

19 files changed

+82
-13
lines changed

19 files changed

+82
-13
lines changed

admin-ui/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"@ant-design/icons": "^5.4.0",
77
"@ant-design/pro-components": "^2.7.19",
88
"@babel/standalone": "^7.25.6",
9+
"@dnd-kit/core": "^6.2.0",
10+
"@dnd-kit/sortable": "^9.0.0",
911
"@logicflow/core": "^2.0.5",
1012
"@logicflow/extension": "^2.0.9",
1113
"@reduxjs/toolkit": "^2.2.7",

admin-ui/src/config/menus.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ export const menus = [
1515
icon: "SmileOutlined",
1616
page: 'welcome',
1717
},
18+
{
19+
path: '/portal',
20+
name: '门户',
21+
icon: "SmileOutlined",
22+
page: 'portal',
23+
},
1824
{
1925
path: '/user',
2026
name: '用户列表',
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import React from 'react';
2+
import {useDraggable} from '@dnd-kit/core';
3+
4+
const Draggable = (props: any) => {
5+
const {attributes, listeners, setNodeRef, transform} = useDraggable({
6+
id: 'draggable',
7+
});
8+
const style = transform ? {
9+
transform: `translate3d(${transform.x}px, ${transform.y}px, 0)`,
10+
} : undefined;
11+
12+
13+
return (
14+
<div ref={setNodeRef} style={style} {...listeners} {...attributes}>
15+
{props.children}
16+
</div>
17+
);
18+
}
19+
20+
export default Draggable;
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import React from 'react';
2+
import {useDroppable} from '@dnd-kit/core';
3+
4+
const Droppable=(props:any)=> {
5+
const {isOver, setNodeRef} = useDroppable({
6+
id: 'droppable',
7+
});
8+
const style = {
9+
color: isOver ? 'green' : undefined,
10+
};
11+
12+
13+
return (
14+
<div ref={setNodeRef} style={style}>
15+
{props.children}
16+
</div>
17+
);
18+
}
19+
20+
export default Droppable;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import React from "react";
2+
3+
const Portal = ()=>{
4+
return (
5+
<>
6+
7+
</>
8+
)
9+
}
10+
11+
export default Portal;

admin-ui/src/portal/index.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from "react";
2+
3+
const Portal = ()=>{
4+
return (
5+
<>
6+
7+
</>
8+
)
9+
}
10+
export default Portal;

example/example-application/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-example</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>3.3.25</version>
8+
<version>3.3.26</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

example/example-domain/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-example</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>3.3.25</version>
8+
<version>3.3.26</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

example/example-infra-flow/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-example</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>3.3.25</version>
8+
<version>3.3.26</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

example/example-infra-jpa/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-example</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>3.3.25</version>
8+
<version>3.3.26</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

0 commit comments

Comments
 (0)