This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 719b2e03c [fix] fix the value submitted for 'application type' is not 
consistent with the saved value(#2765) (#2767)
719b2e03c is described below

commit 719b2e03c2d719a83377de69455a162637a405e5
Author: VampireAchao <[email protected]>
AuthorDate: Thu May 25 20:25:01 2023 +0800

    [fix] fix the value submitted for 'application type' is not consistent with 
the saved value(#2765) (#2767)
---
 .../src/views/flink/app/hooks/useCreateSchema.ts                       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/streampark-console/streampark-console-webapp/src/views/flink/app/hooks/useCreateSchema.ts
 
b/streampark-console/streampark-console-webapp/src/views/flink/app/hooks/useCreateSchema.ts
index 5e6ffca98..a53726311 100644
--- 
a/streampark-console/streampark-console-webapp/src/views/flink/app/hooks/useCreateSchema.ts
+++ 
b/streampark-console/streampark-console-webapp/src/views/flink/app/hooks/useCreateSchema.ts
@@ -199,11 +199,12 @@ export const useCreateSchema = (dependencyRef: Ref) => {
               { label: 'StreamPark Flink', value: 
String(AppTypeEnum.STREAMPARK_FLINK) },
               { label: 'Apache Flink', value: String(AppTypeEnum.APACHE_FLINK) 
},
             ],
-            onChange: () => {
+            onChange: (value) => {
               Object.assign(formModel, {
                 config: undefined,
                 jobName: undefined,
                 configOverride: null,
+                appType: value,
               });
               fetchListJars({
                 id: formModel.project,

Reply via email to