mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 18:11:00 +08:00
优化 js 深拷贝问题
This commit is contained in:
parent
2b5ec5f2d5
commit
c7d25ea2e3
@ -19,7 +19,8 @@
|
|||||||
vc.on('editUnit','openUnitModel',function(_params){
|
vc.on('editUnit','openUnitModel',function(_params){
|
||||||
vc.component.refreshEditUnitInfo();
|
vc.component.refreshEditUnitInfo();
|
||||||
$('#editUnitModel').modal('show');
|
$('#editUnitModel').modal('show');
|
||||||
vc.component.editUnitInfo = _params;
|
// = _params;
|
||||||
|
vc.copyObject(_params, vc.component.editUnitInfo);
|
||||||
vc.component.editUnitInfo.communityId = vc.getCurrentCommunity().communityId;
|
vc.component.editUnitInfo.communityId = vc.getCurrentCommunity().communityId;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user