Skip to content

Commit

Permalink
修复editDefaultValue异步赋值问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghangt committed May 29, 2024
1 parent d919bb9 commit 5ee6b74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/ma-crud/components/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ const columnItemHandle = async (item) => {
return
}
layoutColumns.value.set(item.dataIndex, item)
formColumns.value.push(item)

if (options.formOption.viewType !== 'tag') {
// 针对带点的数据处理
Expand All @@ -249,6 +248,8 @@ const columnItemHandle = async (item) => {
}
}

formColumns.value.push(item)

// 其他处理
item.display = formItemShow(item)
item.disabled = formItemDisabled(item)
Expand Down

0 comments on commit 5ee6b74

Please sign in to comment.