Skip to content

Commit

Permalink
fix: show default value checkbox always on
Browse files Browse the repository at this point in the history
--bug=1050771 --user=刘瑞斌 【应用编排】模型参数设置不显示默认值后,应用中保存过的模型参数被清空了 https://www.tapd.cn/57709429/s/1636650
  • Loading branch information
liuruibin committed Dec 25, 2024
1 parent df63368 commit 2c3132f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const getData = () => {
const rander = (form_data: any) => {
formValue.value.option_list = form_data.option_list || []
formValue.value.default_value = form_data.default_value
formValue.value.show_default_value = form_data.show_default_value
}
defineExpose({ getData, rander })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ const rander = (form_data: any) => {
formValue.value.minlength = attrs.minlength
formValue.value.maxlength = attrs.maxlength
formValue.value.default_value = form_data.default_value
formValue.value.show_default_value = form_data.show_default_value
}
const rangeRules = [
{
Expand Down

0 comments on commit 2c3132f

Please sign in to comment.