|
@@ -658,7 +658,7 @@ const billsGuidance = (function () {
|
|
|
//更新父节点
|
|
|
updateDatas.push({updateType: updateType.update, findData: {ID: selected.getParentID()}, updateData: {NextSiblingID: selected.getID()}});
|
|
|
//更新选中节点
|
|
|
- updateDatas.push({udpateType: updateType.update, findData: {ID: selected.getID()},
|
|
|
+ updateDatas.push({updateType: updateType.update, findData: {ID: selected.getID()},
|
|
|
updateData: {ParentID: selected.parent.getParentID(), NextSiblingID: selected.parent.getNextSiblingID()}});
|
|
|
if(selected.nextSibling && selected.children.length > 0){
|
|
|
//更新选中节点最末子节点
|
|
@@ -704,7 +704,7 @@ const billsGuidance = (function () {
|
|
|
updateDatas.push({updateType: updateType.update, findData: {ID: selected.preSibling.getID()}, updateData: {NextSiblingID: selected.getNextSiblingID()}});
|
|
|
//更新前前节点
|
|
|
if(selected.preSibling.preSibling){
|
|
|
- updateDatas.push({udpateType: updateType.update, findData: {ID: selected.preSibling.preSibling.getID()}, updateData: {NextSiblingID: selected.getID()}});
|
|
|
+ updateDatas.push({updateType: updateType.update, findData: {ID: selected.preSibling.preSibling.getID()}, updateData: {NextSiblingID: selected.getID()}});
|
|
|
}
|
|
|
//更新选中节点
|
|
|
updateDatas.push({updateType: updateType.update, findData: {ID: selected.getID()}, updateData: {NextSiblingID: selected.preSibling.getID()}});
|