Browse Source

code review

Falko Schindler 1 năm trước cách đây
mục cha
commit
bde0983119
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/script_executor/main.py

+ 1 - 1
examples/script_executor/main.py

@@ -34,7 +34,7 @@ ui.button('python3 slow.py', on_click=lambda: run_command('python3 slow.py')).pr
 with ui.row().classes('items-center'):
     ui.button('python3 hello.py "<message>"', on_click=lambda: run_command(f'python3 hello.py "{message.value}"')) \
         .props('no-caps')
-    message = ui.input('message')
+    message = ui.input('message', value='NiceGUI')
 
 # NOTE on windows reload must be disabled to make asyncio.create_subprocess_exec work (see https://github.com/zauberzeug/nicegui/issues/486)
 ui.run(reload=platform.system() != "Windows")