From ca1129d31e3265607e68ae34a3196d3585f56801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Tue, 16 Mar 2021 15:33:24 +0800 Subject: [PATCH] log optimize --- doric-Qt/doric/resources/hlayout.qml | 2 +- doric-Qt/doric/resources/stack.qml | 2 +- doric-Qt/doric/resources/text.qml | 2 +- doric-Qt/doric/resources/vlayout.qml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doric-Qt/doric/resources/hlayout.qml b/doric-Qt/doric/resources/hlayout.qml index cc8eab33..c1307d91 100644 --- a/doric-Qt/doric/resources/hlayout.qml +++ b/doric-Qt/doric/resources/hlayout.qml @@ -40,7 +40,7 @@ Rectangle { onChildrenRectChanged: () => { console.log(tag, uuid + " widthSpec: " + widthSpec + " heightSpec: " + heightSpec) - console.log(tag, uuid + " childrenRect: " + uuid + " onChildrenRectChanged: " +childrenRect) + console.log(tag, uuid + " onChildrenRectChanged: " + childrenRect) this.childrenRectWidth = childrenRect.width this.childrenRectHeight = childrenRect.height diff --git a/doric-Qt/doric/resources/stack.qml b/doric-Qt/doric/resources/stack.qml index 740a7838..366cb714 100644 --- a/doric-Qt/doric/resources/stack.qml +++ b/doric-Qt/doric/resources/stack.qml @@ -40,7 +40,7 @@ Rectangle { onChildrenRectChanged: () => { console.log(tag, uuid + " widthSpec: " + widthSpec + " heightSpec: " + heightSpec) - console.log(tag, uuid + " childrenRect: " + uuid + " onChildrenRectChanged: " +childrenRect) + console.log(tag, uuid + " onChildrenRectChanged: " + childrenRect) this.childrenRectWidth = childrenRect.width this.childrenRectHeight = childrenRect.height diff --git a/doric-Qt/doric/resources/text.qml b/doric-Qt/doric/resources/text.qml index 19a00495..4ef3cf8e 100644 --- a/doric-Qt/doric/resources/text.qml +++ b/doric-Qt/doric/resources/text.qml @@ -19,7 +19,7 @@ Rectangle { } onChildrenRectChanged: () => { - console.log(tag, uuid + " childrenRect: " + uuid + " onChildrenRectChanged: " +childrenRect) + console.log(tag, uuid + " onChildrenRectChanged: " + childrenRect) this.childrenRectWidth = childrenRect.width this.childrenRectHeight = childrenRect.height diff --git a/doric-Qt/doric/resources/vlayout.qml b/doric-Qt/doric/resources/vlayout.qml index 3be0f35b..c80519db 100644 --- a/doric-Qt/doric/resources/vlayout.qml +++ b/doric-Qt/doric/resources/vlayout.qml @@ -40,7 +40,7 @@ Rectangle { onChildrenRectChanged: () => { console.log(tag, uuid + " widthSpec: " + widthSpec + " heightSpec: " + heightSpec) - console.log(tag, uuid + " childrenRect: " + uuid + " onChildrenRectChanged: " +childrenRect) + console.log(tag, uuid + " onChildrenRectChanged: " + childrenRect) this.childrenRectWidth = childrenRect.width this.childrenRectHeight = childrenRect.height