From 967f11e4ecca0db1746739369ab9f86be3fcbcdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Wed, 11 Dec 2019 11:20:50 +0800 Subject: [PATCH] debugger view not reset bug fix --- doric/src/main/java/pub/doric/DoricContext.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }