From 4bdf040aaa2ed8d309188928a932eb7526139ddf Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 18 Aug 2026 18:27:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(tree):=20=E8=8A=82=E7=82=B9=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E6=B8=B2=E6=9F=93=E4=BB=8E=20schedule=5Fonce=20?= =?UTF-8?q?=E5=BC=82=E6=AD=A5=E6=94=B9=E4=B8=BA=E5=90=8C=E6=AD=A5=EF=BC=8C?= =?UTF-8?q?=E6=B6=88=E9=99=A4=E5=B1=95=E5=BC=80=E5=9B=BE=E6=A0=87=E6=97=B6?= =?UTF-8?q?=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bricks/tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/tree.js b/bricks/tree.js index cd6ab50..fe69fa1 100644 --- a/bricks/tree.js +++ b/bricks/tree.js @@ -26,7 +26,7 @@ bricks.TreeNode = class extends bricks.VBox { this.add_widget(n); n.bind('click', this.tree.node_click_handle.bind(this.tree, this)); this.node_widget = n; - schedule_once(this.create_node_content.bind(this,n), 0.01); + this.create_node_content(n); if (! this.user_data.is_leaf) { this.container = new bricks.VBox({height:'auto'}); this.add_widget(this.container);