Commit cda6d96c27ca7bc618c4a086d0df0797d3848df3
1 parent
e429da4a
fix: #133
Showing
2 changed files
with
5 additions
and
1 deletions
front-end/h5/src/components/core/editor/index.js
front-end/h5/src/store/modules/element.js
| ... | ... | @@ -9,7 +9,7 @@ export const actions = { |
| 9 | 9 | const vm = (payload && payload.name) ? getEditorConfigForEditingElement(payload.name) : null |
| 10 | 10 | commit('setEditingElementEditorConfig', vm) |
| 11 | 11 | |
| 12 | - window.getEditorApp.$emit('setEditingElement') | |
| 12 | + payload && window.getEditorApp.$emit('setEditingElement', payload) | |
| 13 | 13 | }, |
| 14 | 14 | setElementPosition ({ commit }, payload) { |
| 15 | 15 | commit('setElementCommonStyle', payload) | ... | ... |