瀏覽代碼

add note about limitation of the "global scope" demo (fixes #4338)

Falko Schindler 2 月之前
父節點
當前提交
2b6dd562b2
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      website/documentation/content/refreshable_documentation.py

+ 3 - 0
website/documentation/content/refreshable_documentation.py

@@ -112,6 +112,9 @@ def global_scope():
         ui.button('Refresh', on_click=time.refresh)
 
     ui.link('Open demo', demo)
+    # END OF DEMO
+    ui.label('Note: This demo may not work as expected on nicegui.io due to load balancing across multiple servers. '
+             'For accurate results, please run this example locally on your machine.').classes('text-gray-600')
 
 
 @doc.demo('Local scope (variant A)', '''