fix: linkage rule saving empty value changes to static empty value (#5667)

* chore(ci): add retry

* fix:  linkage rule saving empty value changes to static empty value

---------

Co-authored-by: xilesun <2013xile@gmail.com>
This commit is contained in:
Katherine 2024-11-18 12:36:05 +08:00 committed by GitHub
parent c541435b09
commit ed5c6edec6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 13 deletions

View File

@ -149,8 +149,11 @@ jobs:
password: ${{ secrets.ALI_DOCKER_PASSWORD }}
- name: Build and push main
if: ${{ steps.get-info.outputs.branch == 'main' }}
uses: docker/build-push-action@v3
uses: Wandalen/wretry.action@master
with:
attempt_limit: 3
action: docker/build-push-action@v3
with: |
context: ./docker/nocobase
file: ./docker/nocobase/Dockerfile
platforms: linux/amd64,linux/arm64
@ -158,8 +161,11 @@ jobs:
tags: nocobase/nocobase:main,nocobase/nocobase:latest,${{ steps.meta.outputs.tags }},${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:main,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/nocobase/nocobase:latest,${{ secrets.ALI_DOCKER_PUBLIC_REGISTRY }}/${{ steps.meta.outputs.tags }}
- name: Build and push next
if: ${{ steps.get-info.outputs.branch == 'next' }}
uses: docker/build-push-action@v3
uses: Wandalen/wretry.action@master
with:
attempt_limit: 3
action: docker/build-push-action@v3
with: |
context: ./docker/nocobase
file: ./docker/nocobase/Dockerfile.next
platforms: linux/amd64,linux/arm64

View File

@ -155,7 +155,7 @@ export const ValueDynamicComponent = (props: ValueDynamicComponentProps) => {
onChange={(value) => {
setMode(value);
setValue({
mode: fieldValue?.mode,
mode: value || fieldValue?.mode,
});
}}
>