소스 검색

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

Falko Schindler 3 달 전
부모
커밋
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)', '''