mirror of https://github.com/halo-dev/halo
fix: resolve issue with secret input saving additional data (#6196)
#### What type of PR is this? /kind bug /area ui /milestone 2.17.x #### What this PR does / why we need it: 修复 Secret Input 保存之后会多出 Secret Form 中数据的问题。 #### Which issue(s) this PR fixes: Fixes #6193 #### Special notes for your reviewer: 测试方式: 1. 在保存 Secret 的表单选项前,打开一次编辑 Secret 的对话框。 2. 保存数据,检查内容是否多出了其他数据。 #### Does this PR introduce a user-facing change? ```release-note None ```pull/6220/head
parent
d2a03dc849
commit
bae53f59ea
|
@ -34,6 +34,7 @@ function onSubmit(data: SecretFormState) {
|
|||
type="form"
|
||||
:model-value="defaultValue"
|
||||
name="secret-form"
|
||||
ignore
|
||||
:config="{ validationVisibility: 'submit' }"
|
||||
@submit="onSubmit"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue