diff --git a/doric/src/main/java/pub/doric/DoricContext.java b/doric/src/main/java/pub/doric/DoricContext.java index 8114e7b4..6f7f2800 100644 --- a/doric/src/main/java/pub/doric/DoricContext.java +++ b/doric/src/main/java/pub/doric/DoricContext.java @@ -98,13 +98,13 @@ public class DoricContext { this.initParams = new JSONBuilder() .put("width", width) .put("height", height) - .toJSONObject() - ; + .toJSONObject(); callEntity(DoricConstant.DORIC_ENTITY_INIT, this.initParams, extra); callEntity(DoricConstant.DORIC_ENTITY_CREATE); } public void reInit() { + this.mRootNode.setId(""); callEntity(DoricConstant.DORIC_ENTITY_INIT, this.initParams, extra); callEntity(DoricConstant.DORIC_ENTITY_CREATE); }