Commit f1029c91 authored by campaign's avatar campaign

object不能那么直接链接过来,要clone

parent 75811083
......@@ -254,7 +254,8 @@ KityMinder.registerModule( "LayoutModule", function () {
target.clearLayout();
var sourceLayout = source.getLayout();
var targetLayout = target.getLayout();
targetLayout.expand = sourceLayout.expand;
targetLayout.expand = utils.clone(sourceLayout.expand);
console.log( targetLayout );
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment