mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-04-01 03:02:38 +08:00
修改 handlerData 时机
This commit is contained in:
parent
c28a347e51
commit
7554372850
@ -110,9 +110,6 @@
|
||||
}
|
||||
|
||||
function getDetail(id) {
|
||||
if(props.detail.handlerFormData && props.detail.formData){
|
||||
props.detail.handlerFormData(props.detail.formData)
|
||||
}
|
||||
formData.value = props.detail.formData || {}
|
||||
if(props.detail && props.detail.request){
|
||||
var _formData = initFormData()
|
||||
@ -129,7 +126,14 @@
|
||||
} else {
|
||||
formData.value = _formData
|
||||
}
|
||||
if(props.detail.handlerFormData){
|
||||
props.detail.handlerFormData(formData.value)
|
||||
}
|
||||
})
|
||||
}else{
|
||||
if(props.detail.handlerFormData){
|
||||
props.detail.handlerFormData(formData.value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user