|
@@ -223,7 +223,8 @@ export class View {
|
|
|
|
|
|
import(data, parentNode) {
|
|
|
let { tree } = data;
|
|
|
- this.ViewTree = new Tree();
|
|
|
+ if(!parentNode)
|
|
|
+ this.ViewTree = new Tree();
|
|
|
try {
|
|
|
this.ViewTree.import(tree, Node, parentNode);
|
|
|
this.defaultContainer = this.ViewTree.root;
|