Skip to content

Commit b7a99ed

Browse files
APAP
authored andcommitted
merged with nesting html elements
1 parent 3884470 commit b7a99ed

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/store/mutations.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,6 @@ const mutations = {
122122
id: payload.date,
123123
children: []
124124
})
125-
if (state.activeElement.length) {
126-
console.log('activeelement')
127-
state.componentMap[componentName].htmlList.push({
128-
text: elementName,
129-
children: []
130-
});
131-
} else state.componentMap[componentName].children.push(elementName);
132-
// state.activeElement.push(state.componentMap[componentName].children.length - 1, elementName);
133125
},
134126

135127
[types.ADD_NESTED_HTML]: (state, payload) => {

0 commit comments

Comments
 (0)