mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-19 14:04:28 +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",
|
"size": "medium",
|
||||||
"htmlType": "button",
|
"htmlType": "button",
|
||||||
"component": "button",
|
"component": "button",
|
||||||
"children": ["取消"]
|
"children": "取消"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -13751,7 +13751,7 @@
|
|||||||
"size": "medium",
|
"size": "medium",
|
||||||
"htmlType": "button",
|
"htmlType": "button",
|
||||||
"component": "button",
|
"component": "button",
|
||||||
"children": ["提交"]
|
"children": "提交"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -13779,7 +13779,8 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"margin": "0 5px 0 5px"
|
"margin": "0 5px 0 5px"
|
||||||
},
|
},
|
||||||
"htmlType": "submit"
|
"htmlType": "submit",
|
||||||
|
"children": "提交"
|
||||||
},
|
},
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
@ -13787,8 +13788,7 @@
|
|||||||
"props": {
|
"props": {
|
||||||
"type": "success"
|
"type": "success"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"提交"
|
|
||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
"componentName": "Button",
|
"componentName": "Button",
|
||||||
@ -13797,9 +13797,9 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"margin": "0 5px 0 5px"
|
"margin": "0 5px 0 5px"
|
||||||
},
|
},
|
||||||
"htmlType": "reset"
|
"htmlType": "reset",
|
||||||
},
|
"children": "重置"
|
||||||
"children": "重置"
|
}
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -29,7 +29,7 @@ export default class EventsSetter extends Component<{
|
|||||||
selectType: null,
|
selectType: null,
|
||||||
nativeEventList: [],
|
nativeEventList: [],
|
||||||
lifeCycleEventList: [],
|
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: '',
|
relatedEventName: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user