|
@@ -217,13 +217,8 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
this.index = index
|
|
|
- this.form = {}
|
|
|
this.form = JSON.parse(JSON.stringify(this.nodeConfig.conditionNodes[index]))
|
|
|
- // const { formStructure } = JSON.parse(this.processForm) // 表单设计字段
|
|
|
- // // 使用 filter 方法找到 required 属性为 true 的对象
|
|
|
- // const requiredList = (formStructure?.fields || []).filter(item => item.options && item.options.required === true)
|
|
|
- // console.log(`%c 这里打印出符合条件的表单对象-=== ${JSON.stringify(requiredList)}`, 'background: orange; color: #fff')
|
|
|
- // this.expressionFormList = requiredList || []
|
|
|
+ this.getExpressionFormList()
|
|
|
this.drawer = true
|
|
|
},
|
|
|
editTitle() {
|