mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 09:41:57 +00:00
1. fix event-setter;
2. update demo schema;
This commit is contained in:
parent
28f172160d
commit
6138da27b4
@ -13737,7 +13737,7 @@
|
||||
"size": "medium",
|
||||
"htmlType": "button",
|
||||
"component": "button",
|
||||
"children": ["取消"]
|
||||
"children": "取消"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -13751,7 +13751,7 @@
|
||||
"size": "medium",
|
||||
"htmlType": "button",
|
||||
"component": "button",
|
||||
"children": ["提交"]
|
||||
"children": "提交"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -13779,7 +13779,8 @@
|
||||
"style": {
|
||||
"margin": "0 5px 0 5px"
|
||||
},
|
||||
"htmlType": "submit"
|
||||
"htmlType": "submit",
|
||||
"children": "提交"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
@ -13787,8 +13788,7 @@
|
||||
"props": {
|
||||
"type": "success"
|
||||
}
|
||||
},
|
||||
"提交"
|
||||
}
|
||||
]
|
||||
}, {
|
||||
"componentName": "Button",
|
||||
@ -13797,9 +13797,9 @@
|
||||
"style": {
|
||||
"margin": "0 5px 0 5px"
|
||||
},
|
||||
"htmlType": "reset"
|
||||
},
|
||||
"children": "重置"
|
||||
"htmlType": "reset",
|
||||
"children": "重置"
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -29,7 +29,7 @@ export default class EventsSetter extends Component<{
|
||||
selectType: null,
|
||||
nativeEventList: [],
|
||||
lifeCycleEventList: [],
|
||||
eventDataList: (this.props.value.eventDataList?this.props.value.eventDataList:this.props.value) || [],
|
||||
eventDataList: (this.props?.value?.eventDataList ? this.props.value.eventDataList : this.props?.value) || [],
|
||||
relatedEventName: '',
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user