|
|
@ -89,13 +89,13 @@ const DetailModal = defineComponent({ |
|
|
|
watch( |
|
|
|
watch( |
|
|
|
() => props.show, |
|
|
|
() => props.show, |
|
|
|
async () => { |
|
|
|
async () => { |
|
|
|
props.show && props.id && setFieldsValue(await queryById(props.id)) |
|
|
|
|
|
|
|
props.show && |
|
|
|
props.show && |
|
|
|
state.detailForm.type && |
|
|
|
state.detailForm.type && |
|
|
|
changeType( |
|
|
|
await changeType( |
|
|
|
state.detailForm.type, |
|
|
|
state.detailForm.type, |
|
|
|
datasourceType[state.detailForm.type] |
|
|
|
datasourceType[state.detailForm.type] |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
props.show && props.id && setFieldsValue(await queryById(props.id)) |
|
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|