|
@@ -10,10 +10,12 @@ export const initActions = EditorModule.action({
|
|
|
historyCtrl.proxyActions(Object.keys(editActions));
|
|
|
this.controls.compUICtrl.init();
|
|
|
|
|
|
- createProxyEffect(this.store, (type, paths, value) => {
|
|
|
- console.log(type, paths, value);
|
|
|
- historyCtrl.onChange(this.store, type, paths, value);
|
|
|
- });
|
|
|
+ // createProxyEffect(this.store, (type, paths, value) => {
|
|
|
+ // console.log(type, paths, value);
|
|
|
+ // if(paths[0] === "designData" || paths[0] === "currCompId"){
|
|
|
+ // historyCtrl.onChange(this.store, type, paths, value);
|
|
|
+ // }
|
|
|
+ // });
|
|
|
},
|
|
|
|
|
|
// 初始化数据
|