From 7bb133a02745a6f73dba2fc66ad69cd8c6ed1913 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 16 Oct 2025 10:41:14 +0800 Subject: [PATCH] bugfix --- bricks/iconbarpage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bricks/iconbarpage.js b/bricks/iconbarpage.js index 5adec22..8e5d486 100644 --- a/bricks/iconbarpage.js +++ b/bricks/iconbarpage.js @@ -20,7 +20,7 @@ bricks.IconbarPage = class extends bricks.VBox { tip, dynsize rate: - context: + content: } */ @@ -47,6 +47,7 @@ bricks.IconbarPage = class extends bricks.VBox { async show_content(tool){ var w = await bricks.widgetBuild(tool.content, this); if (w && ! w.parent) { + this.content.clear_widgets(); this.content.add_widget(w); } }