Commit 525072e0b394360d037c62d4cf8f109c6a3a5afc

Authored by ly525
1 parent cfea7d5a

element model: add events prop

front-end/h5/src/components/core/models/element.js
@@ -25,6 +25,7 @@ class Element { @@ -25,6 +25,7 @@ class Element {
25 */ 25 */
26 this.pluginProps = ele.pluginProps || this.getDefaultPluginProps() 26 this.pluginProps = ele.pluginProps || this.getDefaultPluginProps()
27 this.commonStyle = ele.commonStyle || this.getDefaultCommonStyle() 27 this.commonStyle = ele.commonStyle || this.getDefaultCommonStyle()
  28 + this.events = []
28 } 29 }
29 30
30 getDefaultCommonStyle () { 31 getDefaultCommonStyle () {