Commit 270b4a225ab3ebfba80a9e1d4a100e323e5332c1

Authored by ly525
1 parent e3d7cccb

perf: add compatibility for prop editor

front-end/h5/src/components/core/editor/edit-panel/props.js
... ... @@ -36,7 +36,7 @@ export default {
36 36 const data = {
37 37 style: { width: '100%' },
38 38 props: {
39   - ...item.prop,
  39 + ...item.prop || {},
40 40 // https://vuejs.org/v2/guide/render-function.html#v-model
41 41  
42 42 // #!zh:不设置默认值的原因(下一行的代码,注释的代码):
... ...