Skip to content

Commit 420ee51

Browse files
committed
fix reload order
1 parent 613645a commit 420ee51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

admin-ui/src/pages/flow/work/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ const FlowPage = () => {
6262
id: current.id,
6363
schema: json
6464
});
65-
setVisible(false);
6665
if (res.success) {
6766
message.success("保存成功");
67+
setVisible(false);
6868
}
6969
actionRef.current?.reload();
7070
}

example/example-server/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ [email protected]@
99
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
1010
spring.datasource.url=jdbc:mysql://localhost:3306/flow?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
1111
spring.datasource.username=root
12-
spring.datasource.password=admin123
12+
spring.datasource.password=lorne4j#2024
1313
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
1414

1515
spring.jpa.hibernate.ddl-auto=update

0 commit comments

Comments
 (0)