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 dc218624b [Fix-3758] Flink Home submit form ok button stuck in loading
(#3758)
dc218624b is described below
commit dc218624bd9488dc43975654a404d38334f9d384
Author: xiangzihao <[email protected]>
AuthorDate: Sat Jun 15 15:03:20 2024 +0800
[Fix-3758] Flink Home submit form ok button stuck in loading (#3758)
* fix issue 3757
* fix ci issue
---
.github/workflows/backend.yml | 4 ++--
.github/workflows/e2e.yml | 2 +-
.github/workflows/frontend.yml | 2 +-
.github/workflows/unit-test.yml | 4 +++-
.../src/views/flink/home/components/Modal.vue | 10 +++++++++-
5 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index b806460ed..ffed08fd0 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -37,7 +37,7 @@ concurrency:
jobs:
paths-filter:
- name: Unit-Test-Path-Filter
+ name: Backend-Path-Filter
runs-on: ubuntu-latest
outputs:
not-ignore: ${{ steps.filter.outputs.not-ignore }}
@@ -48,7 +48,7 @@ jobs:
with:
filters: |
not-ignore:
- - '!(**.md)'
+ - '!**/*.md'
license-header:
name: License header
runs-on: ubuntu-latest
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 01de25027..bb7395543 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -43,7 +43,7 @@ jobs:
with:
filters: |
not-ignore:
- - '!(**.md)'
+ - '!**/*.md'
license-header:
name: License header
runs-on: ubuntu-latest
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 012cd6b38..f065518f9 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -43,7 +43,7 @@ jobs:
with:
filters: |
not-ignore:
- - '!(**.md)'
+ - '!**/*.md'
build:
name: Build
runs-on: ${{ matrix.os }}
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index f15d1ccf2..21dc3f8bf 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -48,7 +48,7 @@ jobs:
with:
filters: |
not-ignore:
- - '!(**.md)'
+ - '!**/*.md'
license-header:
name: License header
runs-on: ubuntu-latest
@@ -65,6 +65,7 @@ jobs:
if: github.repository == 'apache/incubator-streampark'
name: Code style
runs-on: ubuntu-latest
+ needs: license-header
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
@@ -75,6 +76,7 @@ jobs:
unit-test:
name: "Unit-Test (java-${{ matrix.java }})"
runs-on: ubuntu-latest
+ needs: code-style
strategy:
fail-fast: false
matrix:
diff --git
a/streampark-console/streampark-console-webapp/src/views/flink/home/components/Modal.vue
b/streampark-console/streampark-console-webapp/src/views/flink/home/components/Modal.vue
index d53259cdf..71361c441 100644
---
a/streampark-console/streampark-console-webapp/src/views/flink/home/components/Modal.vue
+++
b/streampark-console/streampark-console-webapp/src/views/flink/home/components/Modal.vue
@@ -92,7 +92,15 @@
/* form submit */
async function handleSubmit() {
changeOkLoading(true);
- const formValue = await validate();
+ let formValue;
+ try {
+ formValue = await validate();
+ } catch (error) {
+ console.warn('validate error:', error);
+ return;
+ } finally {
+ changeOkLoading(false);
+ }
// Detection environment
const { data: resp } = await fetchCheckEnv({
id: versionId.value,