Update store.js
This commit is contained in:
parent
a5ad52d822
commit
f0ed967c87
|
@ -790,11 +790,7 @@ const setComponentProp = store => (name, value) => {
|
||||||
const current_component = s.currentComponentInfo
|
const current_component = s.currentComponentInfo
|
||||||
s.currentComponentInfo[name] = value
|
s.currentComponentInfo[name] = value
|
||||||
|
|
||||||
if (s.currentFrontEndType) {
|
_saveCurrentPreviewItem(s)
|
||||||
_savePage(s)
|
|
||||||
} else {
|
|
||||||
_saveScreen(store, s, s.currentPreviewItem)
|
|
||||||
}
|
|
||||||
|
|
||||||
s.currentComponentInfo = current_component
|
s.currentComponentInfo = current_component
|
||||||
return s
|
return s
|
||||||
|
|
Loading…
Reference in New Issue