fix: bug#10962、10791
This commit is contained in:
parent
ec7ad63f89
commit
cc84a2a54c
|
@ -276,6 +276,8 @@ const valueSelect = (_: any, label: string, labelObj: Record<number, any>) => {
|
|||
}
|
||||
|
||||
const typeChange = (e: any) => {
|
||||
paramsValue.type = e.value
|
||||
emit('update:value', { ...paramsValue })
|
||||
formModel.value.branches![props.branchName].then[props.thenName].actions[props.actionName].options!.terms[props.termsName].terms[props.name][3] = e.label
|
||||
}
|
||||
|
||||
|
|
|
@ -264,12 +264,12 @@ const termsTypeSelect = (e: { key: string, name: string }) => {
|
|||
|
||||
const valueSelect = (_: any, label: string, labelObj: Record<number, any>) => {
|
||||
emit('update:value', { ...paramsValue })
|
||||
console.log(labelObj)
|
||||
formItemContext.onFieldChange()
|
||||
formModel.value.options!.when[props.branchName].terms[props.whenName].terms[props.name][2] = labelObj
|
||||
}
|
||||
|
||||
const typeSelect = (e: any) => {
|
||||
emit('update:value', { ...paramsValue })
|
||||
formModel.value.options!.when[props.branchName].terms[props.whenName].terms[props.name][3] = e.label
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue