Skip to content

Commit

Permalink
fix: prevent data clearing when FormKit component not to render
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby committed Dec 9, 2024
1 parent 0748ae4 commit 3ed4140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/console-src/modules/interface/themes/ThemeSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ await suspense();
:id="group"
:value="currentConfigMapGroupData || {}"
:name="group"
:preserve="true"
type="form"
@submit="handleSaveConfigMap"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const handleSaveConfigMap = async (data: object) => {
:id="group"
:value="currentConfigMapGroupData"
:name="group"
:preserve="true"
type="form"
@submit="handleSaveConfigMap"
>
Expand Down

0 comments on commit 3ed4140

Please sign in to comment.